### Question:
AerospikeStore extends DataStoreBase<K, T> { @Override public boolean delete(K key) throws GoraException { try { Key recordKey = getAerospikeKey(key); return aerospikeClient .delete(aerospikeParameters.getAerospikeMapping().getWritePolicy(), recordKey); } catch (Exception e) { throw new GoraException(e); } }  @Override void initialize(Class<K> keyClass, Class<T> persistentClass, Properties properties); @Override String getSchemaName(); @Override void createSchema(); @Override void deleteSchema(); @Override boolean schemaExists(); @Override T get(K key, String[] fields); @Override boolean exists(K key); @Override void put(K key, T persistent); @Override boolean delete(K key); @Override long deleteByQuery(Query<K, T> query); @Override Result<K, T> execute(Query<K, T> query); @Override Query<K, T> newQuery(); @Override List<PartitionQuery<K, T>> getPartitions(Query<K, T> query); @Override void flush(); @Override void close(); T createPersistentInstance(Record record, String[] fields);  }### Answer:
@Test @Override public void testDelete() throws Exception { Query<String, WebPage> query; WebPageDataCreator.createWebPageData(webPageStore); query = webPageStore.newQuery(); webPageStore.deleteByQuery(query); super.testDelete(); }