BicepBuddyApp/src/main/java/BicepTests/UserTests.java
@Test
	public void testNewUserAndDelete() {
		UserController uc = new UserController();
		uc.createUser("friendo", "bendo", "wowzaMan@gmail.com", "1", "1", "N/A", "N/A", 
				"N/A", "N/A", "N/A", "N/A", "N/A", "N/A", "123");
		
		assertNotNull(UserController.getUser());
		assertEquals(UserController.getUser().getEmail(), "wowzaMan@gmail.com");
		
		//deletion
		uc.deleteAccount(UserController.getUser());
		assertNull(UserController.getUser());
	}
/**
	 * Test new user and delete.
	 */
Test new user and delete.
Test new user and delete .
@Test
	public void testNewUserAndDelete() {
		UserController uc = new UserController();
		uc.createUser("friendo", "bendo", "wowzaMan@gmail.com", "1", "1", "N/A", "N/A", 
				"N/A", "N/A", "N/A", "N/A", "N/A", "N/A", "123");
		assertNotNull(UserController.getUser());
		assertEquals(UserController.getUser().getEmail(), "wowzaMan@gmail.com");
		uc.deleteAccount(UserController.getUser());
		assertNull(UserController.getUser());
	}
@ Test public void testNewUserAndDelete ( ) { UserController uc = new UserController ( ) ; uc . createUser ( "friendo" , "bendo" , "wowzaMan@gmail.com" , "1" , "1" , "N/A" , "N/A" , "N/A" , "N/A" , "N/A" , "N/A" , "N/A" , "N/A" , "123" ) ; assertNotNull ( UserController . getUser ( ) ) ; assertEquals ( UserController . getUser ( ) . getEmail ( ) , "wowzaMan@gmail.com" ) ; uc . deleteAccount ( UserController . getUser ( ) ) ; assertNull ( UserController . getUser ( ) ) ; }
Test new user and delete.
Test new user and delete .
//deletion