@Test
public void testCreateEnvironment() throws Exception
{

    doReturn( "ENV" ).when( topology ).getEnvironmentName();
    Map<String, Set<Node>> placement = mock( Map.class );
    doReturn( placement ).when( topology ).getNodeGroupPlacement();
    doReturn( false ).when( placement ).isEmpty();
    proxy.createEnvironment( topology, true );
    verify( environmentManager ).createEnvironment( topology, true );
}