diff --git a/src/com/uncc/gameday/registration/test/RegistrationClientTest.java b/src/com/uncc/gameday/registration/test/RegistrationClientTest.java index 5b40a3a..531cfe6 100644 --- a/src/com/uncc/gameday/registration/test/RegistrationClientTest.java +++ b/src/com/uncc/gameday/registration/test/RegistrationClientTest.java @@ -5,6 +5,7 @@ import java.net.URL; import java.util.List; import com.uncc.gameday.R; +import com.uncc.gameday.registration.ParkingChoices; import com.uncc.gameday.registration.ParkingLot; import com.uncc.gameday.registration.RegistrationClient; @@ -38,5 +39,11 @@ public class RegistrationClientTest extends AndroidTestCase { List lots = rc.listLots(); assertTrue((lots.size() > 0)); } + + public void testListLot() { + RegistrationClient rc = new RegistrationClient(this.mContext); + ParkingLot lot = rc.listLot(ParkingChoices.BLUE); + assertTrue(lot.getLocation().getValue() == ParkingChoices.BLUE.getValue()); + } }