public void TestNotEquals2() { SimpleTwoProps obja = new SimpleTwoProps("test", 15); SimpleTwoProps objb = new SimpleTwoProps("testb", 15); Assert.That(obja, MyIs.Not.AllPropertiesEqualTo(objb)); }
public void TestSimpleEqualsSingleProperty() { SimpleTwoProps obja = new SimpleTwoProps("test", 15); Assert.That(obja, MyIs.Property("PropA", "test")); }