public void PeopleBuilderCreatesManagerBuilderInstance() { var manager = PeopleBuilder.CreateManager(); manager.Should().BeOfType <ManagerBuilder>(); }
public void ManagerCreatedByBuilderAsTitleNameGiveToBuilder(string firstname, string lastname, string title) { var manager = PeopleBuilder.CreateManager().With(firstname, lastname, title); manager.Title.Should().Be(title); }