public void TestInitialize() { mockViewModel.BindGetAndSetAttributes(x => x.CityList, (x, v) => x.CityList = v); mockViewModel.BindGetAndSetAttributes(x => x.DistrictList, (x, v) => x.DistrictList = v); mockViewModel.BindGetAndSetAttributes(x => x.TownList, (x, v) => x.TownList = v); helper = new IRegionDefViewModelTestHelper(mockViewModel.Object, towns); }