/** * 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); }