コード例 #1
0
        public async void IReport_CreateFolderPath_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.CreateFolderPath("1/2/3/mock_test");

            PdfApiMock.Verify(e => e.CreateFolderAsync("1/2/3/mock_test", null));
        }