public void Empty_Defined_Static_TargetNotNull_Exception() { var mock = new Mock<IPrinter>(); var sample = new Sample_14 { Printer = mock.Object }; var p = new Parser<Sample_14>(); Expect(() => p.Run(new string[] {}, sample), Throws.InstanceOf<ParserExecutionTargetException>()); }
public void Empty_Defined_Static_TargetNotNull_Exception() { var mock = new Mock<IPrinter>(); var sample = new Sample_14 { Printer = mock.Object }; var p = new Parser<Sample_14>(); p.Run(new string[] { }, sample); }