@Test
public void shouldComputeSha1HashOfNonEmptyContent() throws Exception {

    binary = new InMemoryBinaryValue(store, validByteArrayContent);
    assertThat(binary.getSize(), is((long)validByteArrayContent.length));
    byte[] hash = binary.getHash();
    assertThat(hash.length, is(20));
    assertThat(StringUtil.getHexString(hash), is("14abe696257e85ba18b7c784d6c7855f46ce50ea"));
}