public static void Equals___Should_return_true___When_calling_untyped_overload_and_objects_being_compared_have_same_property_values() { // Arrange var typeDescription1A = new TypeDescription(); var typeDescription1B = new TypeDescription { AssemblyQualifiedName = null, Name = null, Namespace = null }; var typeDescription2A = A.Dummy <TypeDescription>(); var typeDescription2B = new TypeDescription { AssemblyQualifiedName = typeDescription2A.AssemblyQualifiedName, Name = typeDescription2A.Name, Namespace = typeDescription2A.Namespace }; // Act var result1 = typeDescription1A.Equals((object)typeDescription1B); var result2 = typeDescription2A.Equals((object)typeDescription2B); // Assert result1.Should().BeTrue(); result2.Should().BeTrue(); }