Пример #1
0
        public async Task NoPaymentDataIsBadRequest()
        {
            var response = await TestFixture.Client.PostAsync("/payment", ContentHelpers.JsonString("{}"));

            await HttpAssert.IsBadRequestWithJsonContent(response);
        }
Пример #2
0
        public async Task CanLoadSwaggerData()
        {
            var response = await TestFixture.Client.GetAsync("/swagger/v1/swagger.json");

            await HttpAssert.IsOkWithJsonContent(response);
        }