public When_I_call_document_printer()
        {
            var fixture = new Fixture();
            document = fixture.Create<MergedDocument>();
            formattedDocument = fixture.Create<string>();

            documentFormatter = Substitute.For<IDocumentFormatter>();
            documentFormatter.DocumentToString(document).Returns(formattedDocument);

            printer = Substitute.For<IPrinter>();

            documentPrinter = new DocumentPrinter(documentFormatter, printer);

            // Act
            documentPrinter.Print(document);
        }
 public When_I_call_document_printer()
 {
     documentFormatter = Substitute.For<IDocumentFormatter>();
     printer = Substitute.For<IPrinter>();
     documentPrinter = new DocumentPrinter(documentFormatter, printer);
 }