public void Should_flag_uninitialized_properties_on_actual_object_as_unequal() { _actual = new Customer { Name = ExpectedName }; _expected = new { Name = ExpectedName, PhoneNumber = "1234567890" }.ToExpectedObject(); _expected.ShouldEqual(_actual); }
public void Should_return_the_expected_customer() { _expected.ShouldEqual(_actual); }
public void Should_provide_the_expected_customer() { _expected.ShouldEqual(_actual); }
public void Should_compare_all_properties_when_testing_for_equality() { _actual.Name = expectedName; _actual.Address.City = expectedCity; _expected.ShouldEqual(_actual); }