コード例 #1
0
ファイル: QueryTest.cs プロジェクト: dongdong-2009/LteTools
 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);
 }
コード例 #2
0
ファイル: QueryTest.cs プロジェクト: ouyh18ctc/LteTools
 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);
 }