Esempio n. 1
0
 public void SetUp()
 {
     _contentTypeProvider        = A.Fake <IContentTypeProvider>();
     _gZipDecompressor           = A.Fake <IGZipDecompressor>();
     _zipDecompressor            = A.Fake <IZipDecompressor>();
     _attachmentStreamNormaliser = new AttachmentStreamNormaliser(_contentTypeProvider, _gZipDecompressor, _zipDecompressor, A.Fake <ILogger>());
 }
Esempio n. 2
0
 public AttachmentStreamNormaliser(IGZipDecompressor gZipDecompressor,
                                   IZipDecompressor zipDecompressor, ILogger log)
 {
     _gZipDecompressor = gZipDecompressor;
     _zipDecompressor  = zipDecompressor;
     _log = log;
 }
Esempio n. 3
0
 public AttachmentStreamNormaliser(IContentTypeProvider contentTypeProvider,
                                   IGZipDecompressor gZipDecompressor, IZipDecompressor zipDecompressor, ILogger log)
 {
     _contentTypeProvider = contentTypeProvider;
     _gZipDecompressor    = gZipDecompressor;
     _zipDecompressor     = zipDecompressor;
     _log = log;
 }
Esempio n. 4
0
 public void SetUp()
 {
     _gZipDecompressor           = A.Fake <IGZipDecompressor>();
     _zipDecompressor            = A.Fake <IZipDecompressor>();
     _attachmentStreamNormaliser = new AttachmentStreamNormaliser(_gZipDecompressor, _zipDecompressor, A.Fake <ILogger>());
 }