### Question:
CodeGrantTypeHandler implements GrantRequestHandler { public String getGrantType() { return OAuth2Message.AUTHORIZATION; }  HttpRequest getAuthorizationRequest(final OAuth2Accessor accessor,
          final String completeAuthorizationUrl); String getCompleteUrl(final OAuth2Accessor accessor); String getGrantType(); static String getResponseType(); boolean isAuthorizationEndpointResponse(); boolean isRedirectRequired(); boolean isTokenEndpointResponse();  }### Answer:
@Test public void testGetGrantType_1() throws Exception { final CodeGrantTypeHandler fixture = CodeGrantTypeHandlerTest.cgth; final String result = fixture.getGrantType(); Assert.assertEquals("code", result); }