@Test
public void testLithium() throws Exception {

    IAtomContainer mol = DefaultChemObjectBuilder.getInstance().newInstance(IAtomContainer.class);
    IAtom atom1 = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "Li");
    IAtom atom2 = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "F");
    IBond bond = DefaultChemObjectBuilder.getInstance().newInstance(IBond.class, atom1, atom2);
    mol.addAtom(atom1);
    mol.addAtom(atom2);
    mol.addBond(bond);
    StructGenMatcher matcher = new StructGenMatcher();
    IAtomType matched = matcher.findMatchingAtomType(mol, mol.getAtom(0));
    assertAtomType(testedAtomTypes, "Li1", matched);
    matched = matcher.findMatchingAtomType(mol, mol.getAtom(1));
    assertAtomType(testedAtomTypes, "F1", matched);
}