### Question:
StealingMethod { protected abstract void stealTheItem(String target);  void steal();  }### Answer:
@Test public void testStealTheItem() { assertEquals(0, appender.getLogSize()); this.method.stealTheItem(this.expectedTarget); assertEquals(this.expectedStealMethod, appender.getLastMessage()); assertEquals(1, appender.getLogSize()); }
@Test public void testStealTheItem() { verifyZeroInteractions(this.stdOutMock); this.method.stealTheItem(this.expectedTarget); verify(this.stdOutMock).println(this.expectedStealMethod); verifyNoMoreInteractions(this.stdOutMock); }