public void GivenACode_WhenAManCoIsRequested_ThenAManCoIsReturned()
        {
            _manCoRepository.Setup(a => a.GetManCo(It.IsAny <string>())).Returns(new ManCo());
            ManCo manCo = _manCoService.GetManCo(It.IsAny <string>());

            manCo.Should().NotBeNull();
        }
        public void WhenIUpdateADocType_ThenTheDocTypeIsUpdated()
        {
            _manCoRepository.Create(_manCo1);

            ManCo manCo = _manCoRepository.Entities.Where(p => p.Code == "code").FirstOrDefault();

            _manCoRepository.Update(manCo.Id, "new code", "description 1");
            manCo = _manCoRepository.Entities.Where(p => p.Code == "new code").FirstOrDefault();

            manCo.Should().NotBeNull();
        }