@Test
public void testDepth() throws NoSuchFieldException, IllegalAccessException {

    AtomHashGenerator generator = new HashGeneratorMaker().depth(5).elemental().atomic();
    Field depthField = generator.getClass().getDeclaredField("depth");
    depthField.setAccessible(true);
    int value = depthField.getInt(generator);
    assertThat(value, is(5));
}