public void OwnerCreatedByBuilderAsTitleNameGiveToBuilder(string firstname, string lastname, string title) { var owner = PeopleBuilder.CreateOwner().With(firstname, lastname, title); owner.Title.Should().Be(title); }
public void PeopleBuilderCreatesOwnerBuilderInstance() { var owner = PeopleBuilder.CreateOwner(); owner.Should().BeOfType <OwnerBuilder>(); }
public void ManagerBuilderCreatesManagerInstance() { var owner = PeopleBuilder.CreateOwner(); owner.With("", "", "").Should().BeOfType <Owner>(); }