@Test
public void testAddSshKeyToEnvironmentEntity() throws Exception
{

    doReturn( environment ).when( environmentManager ).update( environment );
    environmentManager.addSshKeyToEnvironmentEntity( TestHelper.ENV_ID, TestHelper.SSH_KEY );
    verify( environment ).addSshKey( TestHelper.SSH_KEY );
}