예제 #1
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();
        }
예제 #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();
        }