Code to test fetching an individual lot.

This commit is contained in:
bspeice 2013-10-18 18:41:19 -04:00
parent 7318fdec9f
commit fe8838b189

View File

@ -40,7 +40,7 @@ public class RegistrationClientTest extends AndroidTestCase {
assertTrue((lots.size() > 0)); assertTrue((lots.size() > 0));
} }
public void testListLot() { public void testFetchLot() {
RegistrationClient rc = new RegistrationClient(this.mContext); RegistrationClient rc = new RegistrationClient(this.mContext);
ParkingLot lot = rc.listLot(ParkingChoices.BLUE); ParkingLot lot = rc.listLot(ParkingChoices.BLUE);
assertTrue(lot.getLocation().getValue() == ParkingChoices.BLUE.getValue()); assertTrue(lot.getLocation().getValue() == ParkingChoices.BLUE.getValue());