@Test
public void invisibleHydrogenTest() {

    IAtom hydrogen = super.builder.newInstance(IAtom.class, "H");
    model.set(ShowExplicitHydrogens.class, false);
    Assert.assertTrue(generator.invisibleHydrogen(hydrogen, model));
    model.set(ShowExplicitHydrogens.class, true);
    Assert.assertFalse(generator.invisibleHydrogen(hydrogen, model));
    IAtom nonHydrogen = super.builder.newInstance(IAtom.class, "C");
    model.set(ShowExplicitHydrogens.class, false);
    Assert.assertFalse(generator.invisibleHydrogen(nonHydrogen, model));
    model.set(ShowExplicitHydrogens.class, true);
    Assert.assertFalse(generator.invisibleHydrogen(nonHydrogen, model));
}