using AsbCloudApp.Data; using AsbCloudApp.Services; using AsbCloudDb.Model; using AsbCloudInfrastructure.Repository; namespace AsbCloudWebApi.Tests.ServicesTests { public class DepositCrudCacheServiceTest : CrudServiceTestAbstract { protected override DepositDto MakeNewItem() { var item = new DepositDto { Caption = "test deposit", Latitude = 1, Longitude = 2, Timezone = new SimpleTimezoneDto { Hours = 5, TimezoneId = "test Never-land" } }; return item; } protected override ICrudService MakeService() { var dbContext = TestHelpter.MakeTestContext(); return new CrudCacheServiceBase(dbContext); } } }