@Test
public void testNotifyOnContainerDestroyed() throws Exception
{

    EnvironmentEventListener listener = mock( EnvironmentEventListener.class );
    environmentManager.listeners.add( listener );
    environmentManager.notifyOnContainerDestroyed( environment, TestHelper.CONTAINER_ID );
    verify( cachedExecutor ).submit( isA( Runnable.class ) );
}