예제 #1
0
        public async Task Executes_And_Cleans_Files()
        {
            TempFileCleanup sut = CreateTempFileCleanup();
            await sut.PerformExecuteAsync(null);

            VerifyFilesCleaned();
        }
예제 #2
0
        public async Task Does_Not_Execute_When_Not_Main_Dom()
        {
            TempFileCleanup sut = CreateTempFileCleanup(isMainDom: false);
            await sut.PerformExecuteAsync(null);

            VerifyFilesNotCleaned();
        }