public void Should_compare_null_dates_to_non_null_attributes() { var stub1 = new ComplexValueObjectStub(); var stub2 = new ComplexValueObjectStub(); stub1.Date = DateTime.Now; stub1.Should().NotBe(stub2); stub2.Should().NotBe(stub1); }
public void Should_compare_null_attributes_to_non_null_attributes() { var stub1 = new ComplexValueObjectStub(); var stub2 = new ComplexValueObjectStub(); stub1.Address = "123 Main"; stub1.Should().NotBe(stub2); stub2.Should().NotBe(stub1); }