/// Use this when you want to test that some data is set and the same data is retrieved afterwards
/// </summary>
/// <param name="expected">A struct of expected data content with members having the same name and return type as the getters and setters of the class</param>
publicvoidVerify(objectexpected)
{
VerifySettersAndGetters(expected,expected);
}
/// <summary>
/// Use this when you want to test that some data is set and a set of different data is retrieved afterwards.
/// This is useful when your class manipulates the underlying data before returning/storing it
/// </summary>
/// <param name="expected">A struct of expected data content with members having the same name and return type as the getters and setters of the class</param>
/// <param name="toSet">A struct of data to set with members having the same name and return type as the getters and setters of the class</param>