@Test
public void handleRequest_Success() {

    final GetImageRecipeResponse getImageRecipeResponse =
            GetImageRecipeResponse.builder()
                    .imageRecipe(TestUtil.generateImageRecipeForTest())
                    .build();
    doReturn(getImageRecipeResponse)
            .when(proxy)
            .injectCredentialsAndInvokeV2(any(), any());
    final ProgressEvent<ResourceModel, CallbackContext> response = handler.handleRequest(proxy, request, context, logger);
    assertThat(response).isNotNull();
    assertThat(response.getStatus()).isEqualTo(OperationStatus.SUCCESS);
    assertThat(response.getCallbackContext()).isNull();
    assertThat(response.getCallbackDelaySeconds()).isEqualTo(0);
    assertThat(response.getResourceModel()).isEqualTo(request.getDesiredResourceState());
    assertThat(response.getResourceModels()).isNull();
    assertThat(response.getMessage()).isNull();
    assertThat(response.getErrorCode()).isNull();
}