public void Setup() { m_InfoOne = Substitute.For <IPlayerHandInformation>(); m_InfoTwo = Substitute.For <IPlayerHandInformation>(); m_Infos = new[] { m_InfoOne, m_InfoTwo }; m_Sut = new RankByCardIndex(); }
public void Setup() { m_InfoOne = Substitute.For <IPlayerHandInformation>(); m_InfoTwo = Substitute.For <IPlayerHandInformation>(); m_Infos = new[] { m_InfoOne, m_InfoTwo }; m_Rank = new RankByCardIndex(); // todo use NSub... m_Sut = new HighCardRanking(m_Rank); }