Example #1
0
        //[Test()]
        public void ConvertToEmployeeSummary_FillsFullName_IfOnlyFirstName()
        {
            var employee = new Employee
            {
                FirstName = "Ivan",
            };
            var employeesController = new EmployeesController();
            var actual = employeesController.ConvertToEmployeeSummary(employee);

            Assert.AreEqual("Ivan", actual.FullName);
        }