@Test
public void stopTest() throws Exception {

    // Setup:
    wrapper.applicationId = "id";
    RepositoryConnection conn = repo.getConnection();
    conn.add(VALUE_FACTORY.createIRI(namespace + "id"), VALUE_FACTORY.createIRI(RDF.TYPE.stringValue()), VALUE_FACTORY.createIRI(Application.TYPE));
    wrapper.stop();
    assertFalse(conn.getStatements(VALUE_FACTORY.createIRI(namespace + "id"), null, null).hasNext());
    conn.close();
}