public void SetUp() { _personRepository = Mock.Of<IPersonRepository>(); _personService = new PersonService(_personRepository); _person = new PersonItem() { FirstName = "Василий", FatherName = "Петрович", LastName = "Иванов", Birthday = DateTime.Now.Date }; }
/// <summary> /// Конструктор контроллера людей. /// </summary> public PersonController() { _personService = new PersonService(); }
public void PersonService_Void_Success() { var s = new PersonService(); }