public void HubEmployeeCreator_CreateEmployee_ReturnsNullWithRandomContract()
        {
            // arrange
            var basicEmployee = new BasicEmployee
            {
                Id = 56,
                ContractTypeName = Guid.NewGuid().ToString()
            };
            var creator = new HubEmployeeCreator();

            // act
            var hubEmployee = creator.CreateEmployee(basicEmployee);

            // assert
            Assert.IsNull(hubEmployee);
        }
        public void HubEmployeeCreator_CreateEmployee_CanCreateMonthlyEmployee()
        {
            // arrange
            var basicEmployee = new BasicEmployee
            {
                Id = 34,
                ContractTypeName = "MonthlySalaryEmployee"
            };
            var creator = new HubEmployeeCreator();

            // act
            var hubEmployee = creator.CreateEmployee(basicEmployee);

            // assert
            Assert.IsNotNull(hubEmployee);
            Assert.IsInstanceOfType(hubEmployee, typeof(MonthlyEmployee));
            Assert.AreEqual(basicEmployee.Id, hubEmployee.Id);
        }