### Question:
Sha1Hashing implements HashingStrategy { @Override public byte[] convertToBytes(final String value) { final byte[] valueBytes = value.getBytes(Charsets.UTF_8); return sha1.hashBytes(valueBytes).asBytes(); }  @Override byte[] convertToBytes(final String value);  }### Answer:
@Test void should_compute_sha1_as_bytes() { String inputValue = "someValue"; final byte[] result = strategy.convertToBytes(inputValue); assertThat(result).containsExactly( 0xc1, 0x35, 0x3b, 0x55, 0xce, 0x4d, 0xb5, 0x11, 0x68, 0x4b, 0x8a, 0x3b, 0x7b, 0x5c, 0x4b, 0x3d, 0x99, 0xee, 0x9d, 0xec ); }