public void SetUp() { controller = new LMTeamEditorController(); var teamsManager = new TeamsManagerVM(); teamsManager.LoadedTemplate.Model = LMTeam.DefaultTemplate(5); viewModel = teamsManager.TeamEditor; controller.SetViewModel(teamsManager); controller.Start(); }
public override void SetViewModel(IViewModel viewModel) { teamEditor = ((ILMTeamEditorDealer)viewModel).TeamEditor; }