test/org/ohmage/test/auth/AuthenticationApiTest.java
public void test(final String username, final String password) 
			throws ApiException {
		
		testAuthentication(username, password);
		testAuthToken(username, password);
	}
/**
	 * Tests all of the possible authentication protocols.
	 * 
	 * @param username The username of the user to test.
	 * 
	 * @param password The password of the user to test.
	 * 
	 * @throws ApiException Thrown if there is a bug in the library.
	 * 
	 * @throws IllegalStateException Thrown if the test fails.
	 */
Tests all of the possible authentication protocols.

@param username The username of the user to test.

@param password The password of the user to test.

@throws ApiException Thrown if there is a bug in the library.

@throws IllegalStateException Thrown if the test fails.
Tests all of the possible authentication protocols . @param username The username of the user to test . @param password The password of the user to test . @throws ApiException Thrown if there is a bug in the library . @throws IllegalStateException Thrown if the test fails .
public void test(final String username, final String password) 
			throws ApiException {
		testAuthentication(username, password);
		testAuthToken(username, password);
	}
public void test ( final String username , final String password ) throws ApiException { testAuthentication ( username , password ) ; testAuthToken ( username , password ) ; }
Tests all of the possible authentication protocols.
Tests all of the possible authentication protocols .