public void Map_ConvertsFileContentToString()
        {
            var file = A.Fake <HttpPostedFileBase>();

            Request().Map(new PCSFileUploadViewModel {
                File = file
            });

            A.CallTo(() => fileConverter.Convert(file))
            .MustHaveHappened(Repeated.Exactly.Once);
        }
 public ProcessXmlFile Map(PCSFileUploadViewModel source)
 {
     return(new ProcessXmlFile(source.PcsId, fileConverter.Convert(source.File), source.File.FileName));
 }