private String extractPhoneNumber(final ScimUser user) {
   String phoneNumber = null;
   if (user.getPhoneNumbers() != null && !user.getPhoneNumbers().isEmpty()) {
     phoneNumber = user.getPhoneNumbers().get(0).getValue();
   }
   return phoneNumber;
 }
 private void assertJoe(ScimUser joe) {
   assertNotNull(joe);
   assertEquals(JOE_ID, joe.getId());
   assertEquals("Joe", joe.getGivenName());
   assertEquals("User", joe.getFamilyName());
   assertEquals("*****@*****.**", joe.getPrimaryEmail());
   assertEquals("joe", joe.getUserName());
   assertEquals("+1-222-1234567", joe.getPhoneNumbers().get(0).getValue());
   assertNull(joe.getGroups());
 }