@Test
public void handleRequest_InvalidParameter_Failure() {

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