NullGameLevel implements GameLevel { @Override public boolean accept(GlassEvent event) { return NO_ACCEPT; }  @Override boolean accept(GlassEvent event); @Override void apply(); @Override String getNextLevelIngoingCriteria(); @Override FigureQueue getFigureQueue(); @Override int getFigureTypesToOpenCount(); static final String THIS_IS_LAST_LEVEL; static final boolean NO_ACCEPT; }
@Test public void shouldNoApplyNextLevelWhenAccepted() { assertFalse("Levels terminator should not apply any events", new NullGameLevel().accept(mock(GlassEvent.class))); }