func Test_AuthorizationUrlStateIsUndefined(t *testing.T) {
	var credentials = oauth.ClientCredentials{
		ClientId: "some_client_id",
	}
	auth := oauth.OAuthAuthenticator{
		CallbackURL: "http://abc.com/something/oauth",
	}
	url := auth.AuthorizationURL(credentials, "")
	if url != oauth.BaseOAuthPath+"/authorize?response_type=code&client_id=some_client_id&redirect_uri=http://abc.com/something/oauth" {
		t.Errorf("incorrect oauth url, got %v", url)
	}
}