Search in sources :

Example 1 with WrapperMutableMetaCollection

use of com.torodb.core.transaction.metainf.WrapperMutableMetaCollection in project torodb by torodb.

the class BatchMetaCollectionTest method setUp.

@Before
public void setUp() {
    ImmutableMetaCollection immutableCollection = new ImmutableMetaCollection.Builder("colName", "colId").put(new ImmutableMetaDocPart(tableRefFactory.createRoot(), "docPartName")).build();
    delegate = Mockito.spy(new WrapperMutableMetaCollection(immutableCollection, (o) -> {
    }));
    collection = new BatchMetaCollection(delegate);
}
Also used : WrapperMutableMetaCollection(com.torodb.core.transaction.metainf.WrapperMutableMetaCollection) ImmutableMetaDocPart(com.torodb.core.transaction.metainf.ImmutableMetaDocPart) ImmutableMetaCollection(com.torodb.core.transaction.metainf.ImmutableMetaCollection) Before(org.junit.Before)

Aggregations

ImmutableMetaCollection (com.torodb.core.transaction.metainf.ImmutableMetaCollection)1 ImmutableMetaDocPart (com.torodb.core.transaction.metainf.ImmutableMetaDocPart)1 WrapperMutableMetaCollection (com.torodb.core.transaction.metainf.WrapperMutableMetaCollection)1 Before (org.junit.Before)1