public void TestUpdateCitizen()
 {
     ITatooineCitizens _Service = new TatooineCitizens(repository);
     Citizens cit = repository.GetAllCitizens().FirstOrDefault();
     cit.Name = "Test";
     cit.IdStatus = 1;
     cit.Specie = "Test 2";
     Assert.IsTrue(_Service.UpdateCitizen(cit));
 }
        public void TestUpdateCitizen()
        {
            var repository = new TatooineRepository.Fakes.StubITattoineCitizensRepository()
            {
                UpdateCitizenCitizens = (Citizens) =>
                {
                    return true;
                }
            };
            ITatooineCitizens _Service = new TatooineCitizens(repository);

            Citizens cit = new Citizens();
            cit.Name = "Test";
            cit.IdStatus = 1;
            cit.Specie = "Test 2";
            Assert.IsTrue(_Service.UpdateCitizen(cit));
        }