diff --git a/src/com/uncc/gameday/registration/test/RESTTest.java b/src/com/uncc/gameday/registration/test/RESTTest.java index ca62405..0d8318c 100644 --- a/src/com/uncc/gameday/registration/test/RESTTest.java +++ b/src/com/uncc/gameday/registration/test/RESTTest.java @@ -32,5 +32,11 @@ public class RESTTest extends AndroidTestCase { if (connection.getResponseCode() != connection.HTTP_OK) fail("Could not connect to GameDay! Response code: " + connection.getResponseCode()); } + + public void testFetchLots() { + RegistrationClient rc = new RegistrationClient(this.mContext); + List lots = rc.listLots(); + assertFalse((lots.size() == 0)); + } }