@Test
public void testNa1() throws Exception {

    IAtomContainer mol = DefaultChemObjectBuilder.getInstance().newInstance(IAtomContainer.class);
    IAtom na = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "Na");
    IAtom cl = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "Cl");
    IBond bond = DefaultChemObjectBuilder.getInstance().newInstance(IBond.class, na, cl, IBond.Order.SINGLE);
    mol.addAtom(na);
    mol.addAtom(cl);
    mol.addBond(bond);
    StructGenMatcher matcher = new StructGenMatcher();
    IAtomType matched;
    matched = matcher.findMatchingAtomType(mol, mol.getAtom(0));
    assertAtomType(testedAtomTypes, "Na1", matched);
    matched = matcher.findMatchingAtomType(mol, mol.getAtom(1));
    assertAtomType(testedAtomTypes, "Cl1", matched);
}