public void IsNotEqualsEntities() { //Preparation MockTestEntity testEntityOne = new MockTestEntity(); MockTestEntity testEntityTwo = new MockTestEntity(); testEntityOne.Id = 6; testEntityTwo.Id = 4; //Action bool result = testEntityOne.Equals(testEntityTwo); //Assert Assert.IsFalse(result); Assert.IsTrue(testEntityOne != testEntityTwo); }