### Question:
ConfigurableHashStrategy extends AbstractConfigurableSingleStrategy<HashStrategy, HashStrategyProvider> implements HashStrategy { public String getHash(final InputStream inputStream) throws IOException { try{ return getConfiguredStrategy().getHash(inputStream); }finally{ IOUtils.closeQuietly(inputStream); } }  String getHash(final InputStream inputStream); static final String KEY; }### Answer:
@Test public void shouldHashWithConfiguredStrategy() throws Exception { Assert.assertEquals("8151325dcdbae9e0ff95f9f9658432dbedfdb209", victim.getHash(new ByteArrayInputStream("sample".getBytes()))); }