コード例 #1
0
        public async void IReport_RemoveFolder_Tests()
        {
            PdfReport report = new PdfReport("a/b/c/file.pdf");

            Assert.True(await report.Configure(PdfApiMock.Object, BarcodeMock.Object), "Configure should succeed");

            PdfApiMock.Invocations.Clear();

            await report.RemoveFolder("mock_test");

            PdfApiMock.Verify(e => e.DeleteFolderAsync("a/b/c/mock_test", null, It.IsAny <bool?>()));
        }