Exemplo n.º 1
0
        public void Setup()
        {
            this.repository = new Mock <IRepository <MessageResponse> >();
            this.mapper     = new Mock <IMapper <MessageResponse, MessageResponseModel> >();

            this.viewModel = new ResponseTabViewModel(this.repository.Object, this.mapper.Object);
        }
Exemplo 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;
 }