Ejemplo n.º 1
0
        public void PeopleBuilderCreatesManagerBuilderInstance()
        {
            var manager = PeopleBuilder.CreateManager();

            manager.Should().BeOfType <ManagerBuilder>();
        }
Ejemplo n.º 2
0
        public void ManagerCreatedByBuilderAsTitleNameGiveToBuilder(string firstname, string lastname, string title)
        {
            var manager = PeopleBuilder.CreateManager().With(firstname, lastname, title);

            manager.Title.Should().Be(title);
        }