@Test
public void testCheck() {

    SpatialIndex spatialIndex = SpatialIndexTestData.createTestIndex();
    //Search Envelope
    GeometryWrapper geometryWrapper = SpatialIndexTestData.PARIS_GEOMETRY_WRAPPER;
    float radius = 345;
    String unitsURI = Unit_URI.KILOMETER_URL;
    SearchEnvelope instance = SearchEnvelope.build(geometryWrapper, SpatialIndexTestData.WGS_84_SRS_INFO, radius, unitsURI);
    //Function Test
    HashSet<Resource> expResult = new HashSet<>(Arrays.asList(SpatialIndexTestData.LONDON_FEATURE));
    HashSet<Resource> result = instance.check(spatialIndex);
    assertEquals(expResult, result);
}