public void GetHashCodeTest() { Assert.AreEqual(bookDetails.GetHashCode(), bookDetails.GetHashCode()); Assert.AreNotEqual(bookDetails.GetHashCode(), bd2.GetHashCode()); }