Esempio n. 1
0
        public async Task Compact()
        {
            using (var httpTest = new HttpTest())
            {
                // Operation response
                httpTest.RespondWithJson(new { ok = true });

                await _rebels.CompactAsync();

                httpTest
                .ShouldHaveCalled("http://localhost/rebels/_compact")
                .WithVerb(HttpMethod.Post);
            }
        }