public void TestEntityEquals_IdEquals() { Guid id = Guid.NewGuid(); _test1 = new Test(id); _test2 = new Test(id); Assert.IsTrue(_test1.Equals(_test2)); Assert.IsTrue(_test1 == _test2); Assert.IsFalse(_test1 != _test2); }