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