use of org.eclipse.dataspaceconnector.common.concurrency.LockManager in project DataSpaceConnector by eclipse-dataspaceconnector.
the class InMemoryPolicyStoreTest method setUp.
@BeforeEach
void setUp() {
manager = spy(new LockManager(new ReentrantReadWriteLock(true)));
store = new InMemoryPolicyStore(manager);
}
use of org.eclipse.dataspaceconnector.common.concurrency.LockManager in project DataSpaceConnector by eclipse-dataspaceconnector.
the class InMemoryFederatedCacheStoreTest method setUp.
@BeforeEach
public void setUp() {
CriterionConverter<Predicate<ContractOffer>> converter = criterion -> offer -> true;
store = new InMemoryFederatedCacheStore(converter, new LockManager(new ReentrantReadWriteLock()));
}
Aggregations