@Test public void testAddSetScoreMarketPrices() { MatchScore matchScore = new MatchScore(2, 1); MarketPrices marketPrices = new MarketPrices(); setBettingMarketData.addMatchScoreMarketPrices(matchScore, marketPrices); assertEquals(1, setBettingMarketData.getMatchScoreMarketData().size()); assertEquals(marketPrices, setBettingMarketData.getMatchScoreMarketPrices(matchScore)); assertEquals(marketPrices, setBettingMarketData.getMatchScoreMarketPrices(2, 1)); }
@Test public void testZeroScores() { assertEquals(0, setBettingMarketData.getMatchScoreMarketData().size()); }