Throws an exception if the desired property contained the default value.
public static void VerifyResultIsExpected<TResponse, TProperty>(this TResponse response,
Func<TResponse, TProperty> getProperty)
where TResponse : AutoWebServiceResponse
parameter | description |
---|---|
TResponse | The type of the response. |
TProperty | The type of the property. |
response | The AutoWebServiceResponse to read the property from. |
getProperty | The func that reads the desired property. |