Examples of MatchScore


Examples of org.jmcdonnell.blackoutrugby.beans.MatchScore

*/
public class RequestManagerMatchScoreTest extends AbstractApiRequestTest {

    @Test
    public void testGetNationalMatchScoreByIdNotNull() throws BlackoutException {
        MatchScore team
                = requestManager.getEntityFromApi(new Long(6537), MatchScore.class, Boolean.TRUE, Boolean.FALSE);
        assertNotNull(team);
    }
View Full Code Here

Examples of org.jmcdonnell.blackoutrugby.beans.MatchScore

        assertNotNull(team);
    }

    @Test
    public void testGetUnderTwentyMatchScoreByIdNotNull() throws BlackoutException {
        MatchScore team
                = requestManager.getEntityFromApi(new Long(3716), MatchScore.class, Boolean.TRUE, Boolean.TRUE);

        assertNotNull(team);
    }
View Full Code Here

Examples of org.jmcdonnell.blackoutrugby.beans.MatchScore

        assertNotNull(team);
    }

    @Test
    public void testGetClubMatchScoreByIdNotNull() throws BlackoutException {
        MatchScore team
                = requestManager.getEntityFromApi(new Long(System.getProperty("match.saved.id")), MatchScore.class, Boolean.FALSE, Boolean.FALSE);

        assertNotNull(team);
    }
View Full Code Here

Examples of org.jmcdonnell.blackoutrugby.beans.MatchScore

        assertNotNull(team);
    }

    @Test
    public void testGetYouthMatchScoreByIdNotNull() throws BlackoutException {
        MatchScore team
                = requestManager.getEntityFromApi(new Long(10023659), MatchScore.class, Boolean.FALSE, Boolean.TRUE);

        assertNotNull(team);
    }
View Full Code Here

Examples of org.jmcdonnell.blackoutrugby.beans.MatchScore

        assertNotNull(team);
    }

    @Test
    public void testGetMatchScoreById() throws BlackoutException {
        MatchScore matchScore
                = requestManager.getEntityFromApi(new Long(System.getProperty("match.saved.id")), MatchScore.class, Boolean.FALSE, Boolean.FALSE);

        assertTrue(matchScore.isMatchStarted());
        assertTrue(matchScore.isMatchFinished());
        assertTrue(matchScore.getHomeScore().equals(new Integer(System.getProperty("match.saved.homescore"))));
        assertTrue(matchScore.getGuestScore().equals(new Integer(System.getProperty("match.saved.guestscore"))));
        assertNotNull(matchScore.getGameTimeInSecs());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.