public void SetupTestData()
        {
            _botMock = new Mock <IBot>();
            _botMock.Setup(b => b.Name).Returns("myself");
            _botMock.Setup(b => b.Rooms).Returns(new[] { "theroom", "lobby" });
            _bot = _botMock.Object;

            _sprocket = new VoteSprocket();
        }
Example #2
0
        public void SetupTestData()
        {
            _botMock = new Mock<IBot>();
            _botMock.Setup(b => b.Name).Returns("myself");
            _botMock.Setup(b => b.Rooms).Returns(new[] { "theroom", "lobby" });
            _bot = _botMock.Object;

            _sprocket = new VoteSprocket();
        }