@Test
 public void testGet_2() throws Exception {
   User userInfo = new User();
   Contact contact1 = new Contact();
   contact1.setEmail("*****@*****.**");
   userInfo.setContact(contact1);
   Identifier userId = Users.getInstance().create(userInfo);
   assertTrue(Users.getInstance().get(userId) != null);
 }
 /**
  * Run the void delete(Identifier) method test.
  *
  * @throws Exception
  * @generatedBy CodePro at 11/22/13 12:41 PM
  */
 @Test(expected = hostel.exception.IdentifierNotFoundException.class)
 public void testDelete_2() throws Exception {
   User userInfo = new User();
   Contact contact1 = new Contact();
   contact1.setEmail("*****@*****.**");
   userInfo.setContact(contact1);
   Identifier userId = Users.getInstance().create(userInfo);
   Users.getInstance().delete(userId);
   Users.getInstance().get(userId);
 }
  /**
   * Run the Users getInstance() method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 11/22/13 12:41 PM
   */
  @Test
  public void testGetInstance_1() throws Exception {

    Users result = Users.getInstance();

    // add additional test code here
    assertNotNull(result);
  }
  /**
   * Run the void delete(Identifier) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 11/22/13 12:41 PM
   */
  @Test(expected = hostel.exception.IdentifierNotFoundException.class)
  public void testDelete_1() throws Exception {
    Users fixture = Users.getInstance();
    Identifier id = new Identifier("");

    fixture.delete(id);

    // add additional test code here
  }
  /**
   * Run the User get(Identifier) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 11/22/13 12:41 PM
   */
  @Test(expected = hostel.exception.IdentifierNotFoundException.class)
  public void testGet_1() throws Exception {
    Users fixture = Users.getInstance();
    Identifier id = new Identifier("");

    User result = fixture.get(id);

    // add additional test code here
    assertNotNull(result);
  }
  /**
   * Run the Identifier create(User) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 11/22/13 12:41 PM
   */
  @Test(expected = hostel.exception.IdentifierAlreadyExistsException.class)
  public void testCreate_1() throws Exception {
    Users fixture = Users.getInstance();
    User info = new User();

    Identifier result = fixture.create(info);

    // add additional test code here
    assertNotNull(result);
  }
  /**
   * Run the ArrayList<Identifier> search(User) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 11/22/13 12:41 PM
   */
  @Test
  public void testSearch_1() throws Exception {
    Users fixture = Users.getInstance();
    User info = new User();

    ArrayList<Identifier> result = fixture.search(info);

    // add additional test code here
    assertNotNull(result);
    assertEquals(0, result.size());
  }