When the expected type is the same as the actual type, but from a different assembly, the error message does not point you in that direction. It just states
"Expected type to be MyNamespace.MyType, but found MyNamespace.MyType". It would be better to specify the AssemblyQualifiedName, so you can clearly see the difference.
"Expected type to be MyNamespace.MyType, but found MyNamespace.MyType". It would be better to specify the AssemblyQualifiedName, so you can clearly see the difference.