public void It_Returns_Top_Champions_For_Active_GameDefinitions_Only()
{
//--arrange
//--act
var result = _autoMocker.ClassUnderTest.GetFromSource(_boardGameGeekGameDefinitionId);
//--assert
result.Count.ShouldBe(2);
var firstChampion = result[0];
firstChampion.PlayerId.ShouldBe(_topChampion.PlayerId);
firstChampion.GameDefinitionId.ShouldBe(_expectedFirstChampionGameDefinition.Id);
firstChampion.NumberOfGames.ShouldBe(_topChampion.NumberOfGames);
firstChampion.NumberOfWins.ShouldBe(_topChampion.NumberOfWins);
firstChampion.PlayerGamingGroupId.ShouldBe(_topChampion.Player.GamingGroupId);
firstChampion.PlayerGamingGroupName.ShouldBe(_topChampion.Player.GamingGroup.Name);
firstChampion.PlayerName.ShouldBe(_topChampion.Player.Name);
firstChampion.WinPercentage.ShouldBe(100 * _topChampion.NumberOfWins / _topChampion.NumberOfGames);
var secondChampion = result[1];
secondChampion.PlayerId.ShouldBe(_champion2.PlayerId);
}
}