@Test
public void testCreateOvfEnvironmentInstance() throws Exception {

    // Given
    EnvironmentInstanceDto environmentInstanceDto = new EnvironmentInstanceDto();
    environmentInstanceDto.setDescription("description");
    environmentInstanceDto.setBlueprintName("BlueprintName");
    environmentInstanceDto.setEnvironmentDto(environment.toDto());
    // When
    Task task = environmentInstanceResource.create(org, vdc, environmentInstanceDto, callback);
    // Then
    verify(environmentInstanceAsyncManager, times(1)).create(any(ClaudiaData.class),
            any(EnvironmentInstance.class), any(Task.class), any(String.class));
    assertNotNull(task);
}