new byte[]{0, 24, 0, 0, 0, 7, 0, 8, 0, 116, 0, 101, 0, 115, 0, 116, 0, 46, 0, 116, 0, 120, 0, 116};
String NODE_NAME_AS_STRING = "test.txt";
@Test
public void testKeyFromBytesArray() {
CatalogKey key = new CatalogKey(KEY_AS_BYTES_ARRAY, 0);
assertEquals(NODE_NAME_AS_STRING, key.getNodeName().getUnicodeString());
assertEquals(26, key.getKeyLength());
assertEquals(7, key.getParentId().getId());
}