@Test
public void handleRequest_ResourceNotFound_Failure() {

    doThrow(ResourceNotFoundException.class)
            .when(proxy)
            .injectCredentialsAndInvokeV2(any(), any());
    assertThrows(CfnNotFoundException.class,
            () -> handler.handleRequest(proxy, request, null, logger));
}