Method ForMismatchedType
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForMismatchedType(string, string?)
Creates a new instance of the IsTypeException class to be thrown when an object did not exactly match the given type
public static IsTypeException ForMismatchedType(string expectedTypeName, string? actualTypeName)