예제 #1
0
        public void GetEntries()
        {
            var services = new Infrastructure.Services.PersonEntryService(AutoMapperConfig.Initialize());
            var user     = services.GetAll();

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

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