@Test
public void shouldComputeSha1HashOfEmptyContent() throws Exception {

    validByteArrayContent = new byte[0];
    binary = new InMemoryBinaryValue(store, validByteArrayContent);
    assertThat(binary.getSize(), is(0l));
    assertThat(binary, hasNoContent());
    byte[] hash = binary.getHash();
    assertThat(hash.length, is(20));
    assertThat(StringUtil.getHexString(hash), is("da39a3ee5e6b4b0d3255bfef95601890afd80709"));
}