public void SetUp()
 {
     employeeBo     = new BusinessObjects.Employee();
     employeeEntity = new EntityFramework.Employee {
         Person = new Person()
     };
 }
        public void MapOntoEntity_NullEmployeeEntity_NullReferenceExceptionThrown()
        {
            // Arrange
            EntityFramework.Employee nullEmployeeEntity = null;
            AddValidDataToEmployeeBo();

            // Act/Assert
            Assert.Throws <NullReferenceException>(() => employeeBo.MapOntoEntity(nullEmployeeEntity));
        }
 public void SetUp()
 {
     employeeBo = new BusinessObjects.Employee();
     employeeEntity = new EntityFramework.Employee { Person = new Person() };
 }