@Test
public void testExecute() throws Exception
{

    doReturn( true ).when( taskResult ).hasSucceeded();
    step.execute();
    verify( environmentManager ).loadEnvironment( TestHelper.ENV_ID );
    doReturn( false ).when( taskResult ).hasSucceeded();
    step.execute();
    verify( environmentManager, times( 2 ) ).loadEnvironment( TestHelper.ENV_ID );
}