TransientValueDictionary extends ValueDictionaryBase { @Override public boolean isResource(final byte[] id) { return id != null && id[0] == THRESHOLD_NOT_EXCEEDED && id[1] == RESOURCE_BYTE_FLAG; } TransientValueDictionary(
			final String id, 
			final ITopLevelDictionary longLiteralsDictionary, 
			final int literalLengthThresold);  TransientValueDictionary(final String id); @Override Value getValueInternal(final byte[] id, final boolean p); @Override void removeValue(final Value value, final boolean p); @Override boolean isBNode(final byte[] id); @Override boolean isLiteral(final byte[] id); @Override boolean isResource(final byte[] id);  }
@Test public void isResource() { assertFalse(_cut.isResource(null)); assertFalse(_cut.isResource(new byte[] { TransientValueDictionary.THRESHOLD_EXCEEDED })); assertFalse(_cut.isResource(new byte[] { TransientValueDictionary.THRESHOLD_NOT_EXCEEDED, IDictionary.LITERAL_BYTE_FLAG })); assertFalse(_cut.isResource(new byte[] { TransientValueDictionary.THRESHOLD_NOT_EXCEEDED, IDictionary.BNODE_BYTE_FLAG })); assertTrue(_cut.isResource(new byte[] { TransientValueDictionary.THRESHOLD_NOT_EXCEEDED, IDictionary.RESOURCE_BYTE_FLAG })); }