public void testOccupationPositive() {
   try {
     _model.setOccupation("Software Engineer");
     _model.setOccupation("Quality-Assurance Tester");
   } catch (IllegalArgumentException e) {
     fail();
   }
 }
 public void testOccupationIsntNull() {
   try {
     _model.setOccupation(null);
     fail();
   } catch (IllegalArgumentException e) {
   }
 }
 public void testOccupationNonAlphaNumericOrHyphen() {
   // Allowed characters are a-zA-Z and '-'
   try {
     _model.setOccupation("Software@ #Engineer");
     fail();
   } catch (IllegalArgumentException e) {
   }
 }