public PresentationsUseCaseTests()
 {
     _collector  = new FakeAsyncCollector <SignalRMessage>();
     _controller = Get <PresentationsController>();
 }
        public PresentationsControllerTests()
        {
            jiraClient  = new Mock <IJiraClient>();
            dbClient    = new Mock <IDbClient>();
            ldapClient  = new Mock <ILdapClient>();
            credentials = new Credentials {
                Username = "", Password = ""
            };

            presentation1 = new BoardPresentationDbModel()
            {
                Id          = "1",
                Title       = "first presentation",
                Owner       = "first owner",
                Credentials = new Credentials
                {
                    Username = "******",
                    Password = "******"
                },
                Boards = new List <BoardDbModel>()
                {
                    new BoardDbModel()
                    {
                        Id = "74"
                    },
                    new BoardDbModel()
                    {
                        Id = "75"
                    }
                }
            };

            presentation2 = new BoardPresentationDbModel()
            {
                Id          = "2",
                Title       = "second presentation",
                Owner       = "second owner",
                Credentials = new Credentials
                {
                    Username = "******",
                    Password = "******"
                },
                Boards = new List <BoardDbModel>()
                {
                    new BoardDbModel()
                    {
                        Id = "76"
                    },
                    new BoardDbModel()
                    {
                        Id = "77"
                    }
                }
            };

            boardPresentation = new BoardPresentation
            {
                Id          = "3",
                Title       = "third presentation",
                Owner       = "third owner",
                Credentials = new Credentials
                {
                    Username = "******",
                    Password = "******"
                },
                Boards = new FullBoardList
                {
                    Values = new List <Value>()
                    {
                        new Value()
                        {
                            Id = "74"
                        },
                        new Value()
                        {
                            Id = "75"
                        }
                    }
                }
            };

            presentationList = new List <BoardPresentationDbModel>()
            {
                presentation1,
                presentation2
            };

            boardName1 = new BoardName
            {
                Id   = "74",
                Name = "board1 name"
            };

            boardName2 = new BoardName
            {
                Id   = "75",
                Name = "board2 name"
            };

            controller = new PresentationsController(jiraClient.Object, dbClient.Object, ldapClient.Object);
        }