### Question:
OpenIDConnectClientImpl implements OpenIDConnectClient { @Override public String authorize(String username, String password, String redirectUri) { return authorize(username, password, redirectUri, DEFAULT_SCOPE); } OpenIDConnectClientImpl(
			final String authorizeUrl,
			final String tokenUrl,
			final String clientId,
			final String clientSecret,
			final LoginFormAdapter loginFormAdapter); @Override URI getAuthorizeURI(String redirectUri); @Override URI getAuthorizeURI(String redirectUri, String scope); @Override String authorize(String username, String password, String redirectUri); @Override String authorize(String username, String password, String redirectUri, String scope); TokenSet getTokens(String authCode, String redirectUri); TokenSet refreshTokens(String refreshToken); static final String DEFAULT_SCOPE; }### Answer:
@Test public void testAuthorizeNullUsername() { thrown.expect(IllegalArgumentException.class); client.authorize(null, "password", "http: }
@Test public void testAuthorizeEmptyUsername() { thrown.expect(IllegalArgumentException.class); client.authorize(" ", "password", "http: }
@Test public void testAuthorizeNullPassword() { thrown.expect(IllegalArgumentException.class); client.authorize("username", null, "http: }
@Test public void testAuthorizeEmptyPassword() { thrown.expect(IllegalArgumentException.class); client.authorize("username", " ", "http: }
@Test public void testAuthorizeInvalidRedirectUrl() { thrown.expect(IllegalArgumentException.class); client.authorize("username", " ", "something here"); }