@Test
public void testFindMatchingAtomType_IAtomContainer_IAtom() throws Exception {

    IAtomContainer mol = DefaultChemObjectBuilder.getInstance().newInstance(IAtomContainer.class);
    IAtom atom = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "C");
    atom.setImplicitHydrogenCount(4);
    mol.addAtom(atom);
    StructGenMatcher atm = new StructGenMatcher();
    IAtomType matched = atm.findMatchingAtomType(mol, atom);
    Assert.assertNotNull(matched);
    Assert.assertEquals("C", matched.getSymbol());
}