public void No_Engine_Actions_Are_Performed() { _result = ClassInTest.RebuildFromFormFile(null, InvalidFormFileMock.Object); GlasswallVersionServiceMock.VerifyNoOtherCalls(); FileTypeDetectorMock.VerifyNoOtherCalls(); FileProtectorMock.VerifyNoOtherCalls(); }
public void No_Engine_Actions_Are_Performed(string base64) { ClassInTest.DetermineFileTypeFromBase64(new Base64Request { Base64 = base64 }); GlasswallVersionServiceMock.VerifyNoOtherCalls(); FileTypeDetectorMock.VerifyNoOtherCalls(); }
public void FileTypeDetection_Is_Retrieved() { FileTypeDetectorMock.Verify(s => s.DetermineFileType(It.Is <byte[]>(x => x.SequenceEqual(ExpectedDownloadFile))), Times.Once); FileTypeDetectorMock.VerifyNoOtherCalls(); }
public void No_Engine_Actions_Are_Performed() { GlasswallVersionServiceMock.VerifyNoOtherCalls(); FileTypeDetectorMock.VerifyNoOtherCalls(); FileProtectorMock.VerifyNoOtherCalls(); }