@Test
public void testCharged() {

    AtomHashGenerator generator = new HashGeneratorMaker().depth(0).charged().atomic();
    List<AtomEncoder> encoders = getEncoders((BasicAtomHashGenerator) generator);
    org.hamcrest.MatcherAssert.assertThat(encoders.size(), is(1));
    org.hamcrest.MatcherAssert.assertThat(encoders.get(0), is((AtomEncoder) FORMAL_CHARGE));
}