use of org.eclipse.n4js.tester.events.SessionStartedEvent in project n4js by eclipse.
the class TestEventQueueTest method testExpectedIsLessThanActual.
/**
*/
@Test(expected = AssertionError.class)
public void testExpectedIsLessThanActual() {
final String sessionId = "sessionId";
queue.init(2);
post(new SessionStartedEvent(sessionId));
post(new SessionStartedEvent(sessionId));
queue.assertEquals(sessionId, "SessionStartedEvent|SID:sessionId|");
}
Aggregations