Ejemplo n.º 1
0
        public void GetEntries()
        {
            var services = new Infrastructure.Services.PersonEntryService(AutoMapperConfig.Initialize());
            var user     = services.GetAll();

            Assert.AreEqual("Warszawa", user[0].PlaceOfBirth);
        }
Ejemplo n.º 2
0
        public void GetEntry()
        {
            var services = new Infrastructure.Services.PersonEntryService(AutoMapperConfig.Initialize());
            var user     = services.Get(11);

            Assert.AreEqual("Kowalczyk", user.Surname);
        }