Class DiningApiWireMockStubs
java.lang.Object
edu.ucsb.cs156.dining.services.wiremock.DiningApiWireMockStubs
Reusable fake UCSB Dining API responses.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinstall(com.github.tomakehurst.wiremock.WireMockServer server) Adds the Dining API endpoints needed by review tests.
-
Field Details
-
TEST_API_KEY
- See Also:
-
COMMONS_JSON
- See Also:
-
MEALS_JSON
- See Also:
-
ITEMS_JSON
- See Also:
-
-
Method Details
-
install
public static void install(com.github.tomakehurst.wiremock.WireMockServer server) Adds the Dining API endpoints needed by review tests.
-