public void Banner_ShouldReturnParserSetup() { var parser = A.Fake <Parser>(); var setup = new ParserSetup(parser); setup.Banner("newBanner").Should().Be(setup); }
public void Banner_ShouldAssignBannerToParser() { var parser = A.Fake <Parser>(); var setup = new ParserSetup(parser); setup.Banner("newBanner"); A.CallToSet(() => parser.Banner).To("newBanner").MustHaveHappened(); }