@Test
public void testCreateEmptyEnvironment() throws Exception
{

    PGPSecretKeyRing secretKeyRing = mock( PGPSecretKeyRing.class );
    doReturn( secretKeyRing ).when( environmentManager ).createEnvironmentKeyPair( any( EnvironmentId.class ) );
    environmentManager.createEmptyEnvironment( topology );
    verify( environmentManager ).save( any( LocalEnvironment.class ) );
}