private void AssertDetectionPointFound(AppSensorDetectionPointKind appSensorDetectionPointKind)
 {
     _logger.AssertWasCalled(a => a.Information(
                                 Arg <string> .Is.Equal("Failed {@controllerName} {@methodName} {@httpMethod} validation bypass {errorMessage} attempted by user {@requester}"),
                                 Arg <object[]> .Matches(b => b.OfType <Requester>().Any(
                                                             c => c.AppSensorDetectionPoint == appSensorDetectionPointKind) &&
                                                         b.OfType <string>().Any(d => d == _controllerName) &&
                                                         b.OfType <string>().Any(d => d == _actionName) &&
                                                         b.OfType <string>().Any(d => d == _httpMethod)
                                                         )));
 }
 private void AssertFormValidationDetectionPointFound(AppSensorDetectionPointKind appSensorDetectionPointKind, string type)
 {
     _logger.AssertWasCalled(a => a.Information(
                                 Arg <string> .Matches(e => e.Contains("{@controllerName} {@methodName} {@httpMethod}") && e.Contains(type)),
                                 Arg <object[]> .Matches(b => b.OfType <Requester>().Any(
                                                             c => c.AppSensorDetectionPoint == appSensorDetectionPointKind) &&
                                                         b.OfType <string>().Any(d => d == _controllerName) &&
                                                         b.OfType <string>().Any(d => d == _actionName) &&
                                                         b.OfType <string>().Any(d => d == _httpMethod)
                                                         )));
 }