public void Retrieves_requested_EmployeeChecklist_from_service()
        {
            // Given
            var employeeChecklistId = Guid.NewGuid();

            _employeeChecklistService
                .Setup(x => x.GetWithCompletedOnEmployeesBehalfBy(employeeChecklistId))
                .Returns(_baseEmployeeChecklistDto);

            _target = GetTarget();

            // When
            _target
                .WithEmployeeChecklistId(employeeChecklistId)
                .GetViewModel();

            // Then
            _employeeChecklistService.Verify(x => x.GetWithCompletedOnEmployeesBehalfBy(employeeChecklistId));
        }
        public void Then_maps_assessment_of_checklist_fields()
        {
            // Given
            var employeeChecklistId = Guid.NewGuid();

            _employeeChecklistService
                .Setup(x => x.GetWithCompletedOnEmployeesBehalfBy(employeeChecklistId))
                .Returns(_baseEmployeeChecklistDto);

            _target = GetTarget();

            // When
            var result = _target
                .WithEmployeeChecklistId(employeeChecklistId)
                .GetViewModel();

            // Then
            Assert.That(result.IsFurtherActionRequired, Is.EqualTo(_baseEmployeeChecklistDto.IsFurtherActionRequired));
            Assert.That(result.AssessedBy, Is.EqualTo(_baseEmployeeChecklistDto.AssessedByEmployee.FullName));
            Assert.That(result.AssessmentDate, Is.EqualTo(_baseEmployeeChecklistDto.AssessmentDate.Value.ToShortDateString()));
        }