### Question:
PageMetadata extends ModelWrapper { public QueryResult selectionQuery() { return execution().selectionQuery(); } PageMetadata( Page page ); RDFNodeWrapper pageRoot(); Execution execution(); QueryResult selectionQuery(); QueryResult viewingQuery(); Processor processor(); String sparqlEndpoint( VelocityContext context );  }### Answer:
@Test public void testSelectionQuery() { PageMetadata.QueryResult q = page.metadata().selectionQuery(); assertTrue( q.queryText().contains( "SELECT DISTINCT" ) ); assertEquals( "http: }