@Test
public void testSetTransientFields() throws Exception
{

    doReturn( Sets.newHashSet( environmentContainer ) ).when( environment ).getContainerHosts();
    environmentManager.setTransientFields( Sets.<Environment>newHashSet( environment ) );
    verify( environmentManager ).setEnvironmentTransientFields( environment );
    verify( environmentManager ).setContainersTransientFields( environment );
}