public void GetModChannel() { var mock = new Mock <IGuildData>(MockBehavior.Strict); mock.Setup(x => x.GetGuildConfig(0)).Returns(testConfig); var guildService = new GuildService(mock.Object); ulong actual = guildService.GetModChannel(0); ulong expected = 123456789123456789; Assert.Equal(expected, actual); }