public void ExpectPrintLineNotToThrow() { var printer = new StandardPrinter(); var message = "testMessage"; Assert.DoesNotThrow(() => printer.PrintLine(message)); }