}
@Test(expected = OAuthSystemException.class)
public void testInvalidType() throws Exception {
OAuthClientRequest request = OAuthClientRegistrationRequest
.location(CommonExt.REGISTRATION_ENDPOINT, "unknown_type")
.setName(CommonExt.APP_NAME)
.setUrl(CommonExt.APP_URL)
.setDescription(CommonExt.APP_DESCRIPTION)
.setIcon(CommonExt.APP_ICON)