ThreeTieredValueDictionary extends ValueDictionaryBase { @Override public boolean isResource(final byte[] id) { return id != null && id[0] == MARKER; } ThreeTieredValueDictionary(
			final String id,
			final IDictionary<String> namespaces,
			final IDictionary<String> localNames,
			final ITopLevelDictionary bNodesAndLiterals); @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() { final byte[] id = new byte[17]; RANDOMIZER.nextBytes(id); assertFalse(_cut.isResource(null)); id[0] = ThreeTieredValueDictionary.MARKER; assertTrue(_cut.isResource(id)); final byte[] tooShort = new byte[17 - 1]; final byte[] tooLong = new byte[17 + 1]; tooShort[0] = ThreeTieredValueDictionary.MARKER; tooLong[0] = ThreeTieredValueDictionary.MARKER; assertTrue(_cut.isResource(tooShort)); assertTrue(_cut.isResource(tooLong)); }