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(); }
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(); }