public void GetEntries() { var services = new Infrastructure.Services.PersonEntryService(AutoMapperConfig.Initialize()); var user = services.GetAll(); Assert.AreEqual("Warszawa", user[0].PlaceOfBirth); }
public void GetEntry() { var services = new Infrastructure.Services.PersonEntryService(AutoMapperConfig.Initialize()); var user = services.Get(11); Assert.AreEqual("Kowalczyk", user.Surname); }