public void EmptyValueIsEmpty() { //Test to ensure no other value is returned if nothing is passed var sut = new Uprn(); var actual = sut.IsEmpty(); Assert.That(actual, Is.True); }
public void NonEmptyValueIsNotEmpty() { //Test to ensure that any passed value that isn't empty is recorded as not being empty var value = 12345; var sut = new Uprn(value); var actual = sut.IsEmpty(); Assert.That(actual, Is.False); }
public void InvalidStringIsEmpty([Values("abc", "def", "!$$%")] string value) { var sut = new Uprn(value); var actual = sut.IsEmpty(); Assert.That(actual, Is.True); }