use of io.divolte.server.ServerTestUtils.EventPayload in project divolte-collector by divolte.
the class DslRecordMapperTest method shouldStopOnTopLevelExit.
@Test
public void shouldStopOnTopLevelExit() throws IOException, InterruptedException {
setupServer("basic-toplevel-exit.groovy");
final EventPayload event = request("http://www.example.com");
assertEquals("happened", event.record.get("client"));
assertNull(event.record.get("session"));
}
Aggregations