You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when hovering over the property MyCustomProperty I would like to have a suggestion to generate an assertion for that property.
The generated assertion will something like this:
publicstaticclassMyCustomExceptionExtensions{publicstaticExceptionAssertions<TException>WithMyCustomProperty<TException>(thisExceptionAssertions<TException>assertions,stringexpectedMyCustomProperty,stringbecause="",paramsobject[] becauseArgs)whereTException:MyCustomException{
Execute.Assertion
.ForCondition(assertions.And.MyCustomProperty.Equals(expectedMyCustomProperty)).BecauseOf(because, becauseArgs).FailWith("Expected exception with MyCustomProperty {0}{reason}, but found {1}.", assertions.And.MyCustomProperty, expectedMyCustomProperty);returnassertions;}}
The text was updated successfully, but these errors were encountered:
for example:
when hovering over the property
MyCustomProperty
I would like to have a suggestion to generate an assertion for that property.The generated assertion will something like this:
The text was updated successfully, but these errors were encountered: