public void IsSameContentTest() { TypedHistory hoge = new TypedHistory { Content = "hoge" }; TypedHistory huga = new TypedHistory { Content = "huga" }; TypedHistoryWrapper target = new TypedHistoryWrapper { Content = hoge }; TypedHistoryWrapper other = new TypedHistoryWrapper { Content = huga }; bool expected = false; bool actual; actual = target.IsSameContent(other); Assert.AreEqual(expected, actual); other = new TypedHistoryWrapper { Content = hoge }; expected = true; actual = target.IsSameContent(other); Assert.AreEqual(expected, actual); }