@Test public void testBogusNamesSexed() { Assert.assertNull(validator.checkName("Bazza", true)); Assert.assertNull(validator.checkName("BadNurse", false)); Assert.assertNull(validator.checkName("randyrod", true)); Assert.assertNull(validator.checkName("asdfghjk", false)); }
public String checkName(String name) { build(); String rval = checkName(name, malesDB); if (rval == null) { rval = checkName(name, femalesDB); } return rval; }
ScreenNameValidator extends ScreenNameValidatorDB { public String checkName(String name) { build(); String rval = checkName(name, malesDB); if (rval == null) { rval = checkName(name, femalesDB); } return rval; } }
ScreenNameValidator extends ScreenNameValidatorDB { public String checkName(String name) { build(); String rval = checkName(name, malesDB); if (rval == null) { rval = checkName(name, femalesDB); } return rval; } ScreenNameValidator(); }
ScreenNameValidator extends ScreenNameValidatorDB { public String checkName(String name) { build(); String rval = checkName(name, malesDB); if (rval == null) { rval = checkName(name, femalesDB); } return rval; } ScreenNameValidator(); String checkName(String name); String checkName(String name, boolean isMale); }
ScreenNameValidator extends ScreenNameValidatorDB { public String checkName(String name) { build(); String rval = checkName(name, malesDB); if (rval == null) { rval = checkName(name, femalesDB); } return rval; } ScreenNameValidator(); String checkName(String name); String checkName(String name, boolean isMale);  }