@Test
public void push_rejectIfNotContainedInStack() {

    CommandListener listener = Mockito.mock(CommandListener.class);
    uut.push("someId", child1, listener);
    verify(listener).onError(any());
}