Exemplo n.º 1
0
        public async Task NoPaymentDataIsBadRequest()
        {
            var response = await TestFixture.Client.PostAsync("/payment", ContentHelpers.JsonString("{}"));

            await HttpAssert.IsBadRequestWithJsonContent(response);
        }
Exemplo n.º 2
0
        public async Task CanLoadSwaggerData()
        {
            var response = await TestFixture.Client.GetAsync("/swagger/v1/swagger.json");

            await HttpAssert.IsOkWithJsonContent(response);
        }