void () { myEditorState = new MyState(true, "state1"); makeNavigationChange(new MyState(true, "state2")); assertTrue(myHistory.isBackAvailable()); assertFalse(myHistory.isForwardAvailable()); assertEquals(1, myHistory.getBackPlaces().size()); }