@Test
public void testAwaitTermination() throws Exception {

    when(wrappedExecutorService.awaitTermination(3, TIME_UNIT)).thenReturn(true);
    assertTrue(tracedExecutorService.awaitTermination(3, TIME_UNIT));
    verify(wrappedExecutorService).awaitTermination(3, TIME_UNIT);
    verifyNoMoreInteractions(wrappedExecutorService);
}