public class BBoxCrsParameterInvalid extends AbstractBBoxCrs
 Abstract Test 9: /conf/crs/bbox-crs-parameter-invalid
 Test Purpose: Verify that the parameter bbox-crs has been implemented correctly
 Requirement: /req/crs/fc-bbox-crs-valid-value

 Test Method
 For each spatial feature collection collectionId, send a request with the parameters bbox and bbox-crs to /collections/{collectionId}/items with a value for bbox-crs that is not included in the list of CRSs and verify that the response has status code 400.
 
Author:
Lyn Goltz
  • Constructor Details

    • BBoxCrsParameterInvalid

      public BBoxCrsParameterInvalid()
  • Method Details

    • collectionIdAndJson

      @DataProvider(name="collectionIdAndJson") public Iterator<Object[]> collectionIdAndJson(org.testng.ITestContext testContext)

      collectionIdAndJson.

      Parameters:
      testContext - a ITestContext object
      Returns:
      a Iterator object
    • verifyBboxCrsParameterInvalid

      public void verifyBboxCrsParameterInvalid(String collectionId, io.restassured.path.json.JsonPath collection)

      verifyBboxCrsParameterInvalid.

      Parameters:
      collectionId - the id of the collection, never null
      collection - the /collection object, never null