public void Setup() { this.repository = new Mock <IRepository <TextCommand> >(); this.mapper = new Mock <IMapper <TextCommand, TextCommandModel> >(); this.viewModel = new TextCommandsTabViewModel(this.repository.Object, this.mapper.Object); }
public TabsViewModel(ShoutoutTabViewModel shoutouts, ResponseTabViewModel responses, ConfigurationTabViewModel configuration, TextCommandsTabViewModel textCommands) { this.Shoutouts = shoutouts; this.Responses = responses; this.Configuration = configuration; this.TextCommands = textCommands; }