Пример #1
0
        public void File_Is_Rebuilt()
        {
            FileAnalyserMock.Verify(
                s => s.GetReport(
                    It.Is <ContentManagementFlags>(x => x == Policy.DefaultContentManagementFlags),
                    It.Is <string>(x => x == _expectedType.FileTypeName),
                    It.Is <byte[]>(x => x.SequenceEqual(ExpectedDownloadFile))),
                Times.Once);

            FileAnalyserMock.VerifyNoOtherCalls();
        }
Пример #2
0
        public void No_Engine_Actions_Are_Performed(string base64)
        {
            ClassInTest.AnalyseFromBase64(new Base64Request
            {
                Base64 = base64
            });

            GlasswallVersionServiceMock.VerifyNoOtherCalls();
            FileTypeDetectorMock.VerifyNoOtherCalls();
            FileAnalyserMock.VerifyNoOtherCalls();
        }
Пример #3
0
 public void No_Engine_Actions_Are_Performed()
 {
     GlasswallVersionServiceMock.VerifyNoOtherCalls();
     FileTypeDetectorMock.VerifyNoOtherCalls();
     FileAnalyserMock.VerifyNoOtherCalls();
 }
 public void File_Is_Not_Rebuilt()
 {
     FileAnalyserMock.VerifyNoOtherCalls();
 }