}
@Test
public void getHashLengthSHA1() throws Exception {
final Hex hex = new Hex();
final byte[] hash = hex.decode("deadbeefdeadbeefdeadbeefdeadbeefdeadbeef".getBytes());
final byte[] entryID = FsEntryUtils.makeFsEntryKey(hex.decode("baadf00dbaadf00dbaadf00dbaadf00d".getBytes()), "/etc/passwd".getBytes(), 17);
final byte[] rowKey = KeyUtils.makeEntryKey(hash, KeyUtils.SHA1, entryID);
assertEquals(KeyUtils.SHA1_LEN, KeyUtils.getHashLength(rowKey));
}