@Test public void isValid_longName() { final String arbitraryLongName = "Williamhelmina"; assertTrue(validator.isValid(arbitraryLongName)); }
@Test public void isValid_nameWithTwoCharacter() { final String arbitraryNameWithTwoCharacters = "Bo"; assertTrue(validator.isValid(arbitraryNameWithTwoCharacters)); }
@Test public void isValid_emptyName() { assertFalse(validator.isValid(StringUtils.EMPTY)); }
@Test public void isValid_nameWithOneCharacter() { final String arbitraryNameWithOneCharacter = "A"; assertFalse(validator.isValid(arbitraryNameWithOneCharacter)); }
@Test public void isValid_nullName() { assertFalse(validator.isValid(null)); }