Search in sources :

Example 1 with ED1

use of io.vertx.quiz.example.ED1 in project vertx-zero by silentbalanceyh.

the class EndPointTc method testEndPoint.

@Test
public void testEndPoint(final TestContext context) {
    final Set<Event> all = new ConcurrentHashSet<>();
    all.addAll(extractor().extract(ED1.class));
    all.addAll(extractor().extract(ED.class));
    for (final Event event : all) {
        getLogger().info("[TEST] Extract event: {0}.", event);
    }
}
Also used : ED1(io.vertx.quiz.example.ED1) ConcurrentHashSet(io.vertx.core.impl.ConcurrentHashSet) Event(io.vertx.up.atom.agent.Event) ED(io.vertx.quiz.example.ED) Test(org.junit.Test)

Aggregations

ConcurrentHashSet (io.vertx.core.impl.ConcurrentHashSet)1 ED (io.vertx.quiz.example.ED)1 ED1 (io.vertx.quiz.example.ED1)1 Event (io.vertx.up.atom.agent.Event)1 Test (org.junit.Test)1