@Test( expected = EnvironmentCreationException.class )
public void testExecute() throws Exception
{

    doReturn( 123 ).when( peerTaskResult ).getResult();
    doReturn( true ).when( peerTaskResult ).hasSucceeded();
    step.execute();
    verify( environment ).setP2PSubnet( anyString() );
    doReturn( false ).when( peerTaskResult ).hasSucceeded();
    doReturn( true ).when( peerTaskResults ).hasFailures();
    step.execute();
}