C# Class Amido.Testing.WebApi.ValidationRules.AssertBodyEqualsValidationRule

Inheritance: ValidationRule
Show file Open project: amido/Amido.Testing

Public Methods

Method Description
AssertBodyEqualsValidationRule ( string expectedBody ) : System.ComponentModel

Constructs the ValidationRule.

Validate ( object sender, ValidationEventArgs e ) : void

The validate method.

Method Details

AssertBodyEqualsValidationRule() public method

Constructs the ValidationRule.
public AssertBodyEqualsValidationRule ( string expectedBody ) : System.ComponentModel
expectedBody string The expected response body.
return System.ComponentModel

Validate() public method

The validate method.
public Validate ( object sender, ValidationEventArgs e ) : void
sender object The sender.
e ValidationEventArgs The
return void