DescribedDataStoreOperation implements DataStoreOperation<Object, K, E> { @Override public String toString() { return selectOperation.toString(); } DescribedDataStoreOperation(SelectDataStoreOperation<K, E> selectOperation,
                                       DataFunctionRegistry functionRegistry); @Override Object execute(DataStore<K, E> store, RepositoryConfiguration configuration, Invocation invocation); @Override String toString();  }
@Test public void testToString() { final SelectDataStoreOperation<Object, Object> selectOperation = new SelectDataStoreOperation<>( new DefaultQueryDescriptor(false, null, 0, null, null, null, null, null)); final DescribedDataStoreOperation<Object, Object> describedOperation = new DescribedDataStoreOperation<>( selectOperation, null); assertThat(describedOperation.toString(), is(selectOperation.toString())); }