public void TestInitialize() { townRepository.Setup(x => x.GetAll()).Returns(towns.AsQueryable()); eNodebRepository.SetupGet(x => x.GetAll()).Returns(eNodebs.AsQueryable()); controller = new ParametersController(townRepository.Object, eNodebRepository.Object, null, null, null, regionRepository.Object, null); helper = new QueryTestHelper(controller, towns, eNodebs); }