示例#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);
        }
示例#2
0
 public void Init()
 {
     instance = new AgencyApi();
 }
示例#3
0
 public AgencyApiTests()
 {
     instance = new AgencyApi();
 }
示例#4
0
        public void OneCreateWithConfiguration()
        {
            AgencyApi agencyApiTest = new AgencyApi(GetClientConfig());

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

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

            Assert.NotNull(agencyApiTest.Configuration);
        }