public void SetUp()
        {
            controller           = new SubstitutionsEditorController();
            teamTaggerController = new LMTeamTaggerController();
            viewModel            = new SubstitutionsEditorVM();

            project           = Utils.CreateProject();
            viewModel.Project = new LMProjectVM {
                Model = project
            };
        }
Пример #2
0
 public override void SetViewModel(IViewModel viewModel)
 {
     substitutionEditor = (SubstitutionsEditorVM)viewModel;
 }
 public void SetUp()
 {
     viewModel = new SubstitutionsEditorVM();
 }