public void ValueObjectNewWhenParseEmptyNameIsValidFalse() { var sut = new ValueObjectFake(""); Assert.AreEqual(false, sut.IsValid()); }
public void ValueObjectNewWhenParseNameMaximumExceededIsValidFalse() { var sut = new ValueObjectFake("Name Name Name Name"); Assert.AreEqual(false, sut.IsValid()); }
public void ValueObjectNewWhenParseNameIsValidTrue() { var sut = new ValueObjectFake("Name"); Assert.AreEqual(true, sut.IsValid()); }
public void ValueObjectNewWhenParseNameInsufficientCharactersIsValidFalse() { var sut = new ValueObjectFake("N"); Assert.AreEqual(false, sut.IsValid()); }