Exemple #1
0
        public void ApiV1AgencyByAgencyDeleteWithHttpInfo()
        {
            Configuration        configuration = GetClientConfig();
            AgencyApi            agencyApiTest = new AgencyApi(configuration);
            ApiResponse <Object> responses     = agencyApiTest.ApiV1AgencyByAgencyDeleteWithHttpInfo("int.example");

            Assert.Equal(200, responses.StatusCode);

            CreateAgencyRequest  requestAgency     = new CreateAgencyRequest("int.example", "example");
            ApiResponse <Object> responsesCreation = agencyApiTest.ApiV1AgencyPostWithHttpInfo(requestAgency);

            Assert.Equal(200, responsesCreation.StatusCode);
        }
Exemple #2
0
 public void Init()
 {
     instance = new AgencyApi();
 }
Exemple #3
0
 public AgencyApiTests()
 {
     instance = new AgencyApi();
 }
Exemple #4
0
        public void OneCreateWithConfiguration()
        {
            AgencyApi agencyApiTest = new AgencyApi(GetClientConfig());

            Assert.NotNull(agencyApiTest.Configuration);
        }
Exemple #5
0
        public void OneCreateWithoutBasePath()
        {
            AgencyApi agencyApiTest = new AgencyApi();

            Assert.NotNull(agencyApiTest.Configuration);
        }
Exemple #6
0
        public void OneCreate()
        {
            AgencyApi agencyApiTest = new AgencyApi(this.basePath);

            Assert.NotNull(agencyApiTest.Configuration);
        }