### Question:
SchemaRequest { public SCIMResponse<PagedByIndexSearchResult<Schema>> readAllSchemas() { return resourceRequestDelegate.readMultipleResourcesWithoutPaging(new GenericType<PagedByIndexSearchResult<Schema>>(){}); } SchemaRequest(WebTarget targetSystem, SCIMRequest scimRequest); SCIMResponse<Schema> createSchema(Schema schema); SCIMResponse<Schema> readSingleSchema(String schemaUrn); SCIMResponse<PagedByIndexSearchResult<Schema>> readAllSchemas(); SCIMResponse<Void> deleteSchema(String schemaUrn);  }### Answer:
@Test public void readAllSchemas() throws IOException { JsonNode jsonResponse = readResponseSchemasAsJsonNodeFromFile("read_schemas_index_paging.json"); wireMockServer.stubFor(get(urlEqualTo("/Schemas")).willReturn(configureMockedResponse(OK, jsonResponse))); PagedByIndexSearchResult<Schema> responseSchema = SCIMClientService.builder(DEFAULT_URL) .build() .buildSchemaRequest() .readAllSchemas() .get(); assertAll( () -> assertAll(getPagedByIndexResponseAssertions(responseSchema)), () -> { Schema schema = responseSchema.getResources().stream().findAny().orElseThrow(RuntimeException::new); assertAll("Common resourceAttributes", getCommonResourceAssertions(schema, Schema.SCHEMA)); assertNotNull(schema.getName()); assertNotNull(schema.getAttributes()); assertFalse(schema.getAttributes().isEmpty()); } ); }