Пример #1
0
    public void GetMessageLog()
    {
        var mock = new Mock <IGuildData>(MockBehavior.Strict);

        mock.Setup(x => x.GetGuildConfig(0)).Returns(testConfig);

        var guildService = new GuildService(mock.Object);

        bool actual   = guildService.GetMessageLog(0);
        bool expected = false;

        Assert.Equal(expected, actual);
    }