@Override public void removeValue(final String value, final boolean p) throws DataAccessLayerException { _decoratee.removeValue(value, p); }
@Override public void removeValue(final String value, final boolean p) throws DataAccessLayerException { _decoratee.removeValue(value, p); }
/** * Removing a BNode won't involve namespaces and local names dictionaries. * * @throws Exception never otherwise the test fails. */ @Test public void removeBNode() throws Exception { final boolean isPredicate = RANDOMIZER.nextBoolean(); _cut.removeValue(_aBNode, isPredicate); verify(_namespacesDictionary, times(0)).removeValue(anyString(), eq(isPredicate)); verify(_localNamesDictionary, times(0)).removeValue(anyString(), eq(isPredicate)); verify(_bnodesAndLiteralsDictionary).removeValue(_aBNode, isPredicate); }
/** * Removing a Literal won't involve namespaces and local names dictionaries. * * @throws Exception never otherwise the test fails. */ @Test public void removeLiteral() throws Exception { final boolean isPredicate = RANDOMIZER.nextBoolean(); _cut.removeValue(_aLiteral, isPredicate); verify(_namespacesDictionary, times(0)).removeValue(anyString(), eq(isPredicate)); verify(_localNamesDictionary, times(0)).removeValue(anyString(), eq(isPredicate)); verify(_bnodesAndLiteralsDictionary).removeValue(_aLiteral, isPredicate); } }