Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     Setup();
     ClientAuthorizationController.Should_Return_Error_With_Code_400_When_Parameters_Are_Invalid(_httpClient);
     ClientAuthorizationController.Should_Return_Error_With_Code_604_When_Parameters_Are_Valid(_httpClient);
     ClientRatesController.Should_Return_StatusCode_200_When_Currencies_Are_Valid(_httpClient);
     ClientRatesController.Should_Return_StatusCode_400_When_Currencies_Are_Invalid(_httpClient);
     ClientRatesController.Should_Return_Decimal_Number_When_Amount_Is_Not_Mentioned(_httpClient);
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Setup();

            /*ClientAuthorizationController.Should_Return_StatusCode_200_When_Parameters_Are_Valid(_httpClient);
             * ClientAuthorizationController.Should_Return_StatusCode_400_When_Parameters_Are_Invalid(_httpClient);
             * ClientAuthorizationController.Should_Return_StatusCode_409_When_User_Already_Exists(_httpClient);
             * ClientRatesController.Should_Return_StatusCode_401_When_Unauthorized(_httpClient);
             */ClientRatesController.Should_Return_StatusCode_200_When_Authorized(_httpClient);
        }