public void Setup()
        {
            this.repository = new Mock <IRepository <Shoutout> >();
            this.mapper     = new Mock <IMapper <Shoutout, ShoutoutModel> >();

            this.viewModel = new ShoutoutTabViewModel(this.repository.Object, this.mapper.Object);
        }
Ejemplo n.º 2
0
 public TabsViewModel(ShoutoutTabViewModel shoutouts,
                      ResponseTabViewModel responses,
                      ConfigurationTabViewModel configuration,
                      TextCommandsTabViewModel textCommands)
 {
     this.Shoutouts     = shoutouts;
     this.Responses     = responses;
     this.Configuration = configuration;
     this.TextCommands  = textCommands;
 }