public void ToStringWhenReflectedValuesIsEmpty_ShouldWork() { var vo = new NoPropsValue(); var result = vo.ToString(); Assert.AreEqual("{}", result); }
public void ValueObjectsWithoutReflectedProperties_ShouldBeEqual() { var valueObject = new NoPropsValue(); var sameValuesVO = new NoPropsValue(); Assert.AreEqual(valueObject, sameValuesVO); Assert.IsTrue(valueObject == sameValuesVO); Assert.IsFalse(valueObject != sameValuesVO); }