public void GetParametersLikeUri_CustomParameter_ParametersUrlEncoded()
        {
            var request = new RequestBase();

            request.AccessToken   = "access token";
            request.ApplicationId = "application id";
            request.AddParameter("parameter1", "value1");

            var uriParameters = request.GetParametersLikeUri();

            Assert.Equal("parameter1=value1&access_token=access%20token&application_id=application%20id", uriParameters);
        }
        public void GetParameter_RequiredAndCustomParameters_ParameterValuesReturned()
        {
            var request = new RequestBase();

            request.AccessToken = "access token";
            request.AddParameter("parameter1", "value1");

            var parameter1    = request.GetParameter("parameter1");
            var accessToken   = request.GetParameter("access_token");
            var applicationId = request.GetParameter("application_id");

            Assert.Null(applicationId);
            Assert.Equal("access token", accessToken);
            Assert.Equal("value1", parameter1);
        }