@Test
public void testSe2() throws Exception {

    IAtomContainer mol = DefaultChemObjectBuilder.getInstance().newInstance(IAtomContainer.class);
    IAtom se = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "Se");
    IAtom o = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "O");
    IBond b1 = DefaultChemObjectBuilder.getInstance().newInstance(IBond.class, se, o, IBond.Order.DOUBLE);
    mol.addAtom(se);
    mol.addAtom(o);
    mol.addBond(b1);
    StructGenMatcher matcher = new StructGenMatcher();
    IAtomType matched;
    matched = matcher.findMatchingAtomType(mol, mol.getAtom(0));
    assertAtomType(testedAtomTypes, "Se2", matched);
    matched = matcher.findMatchingAtomType(mol, mol.getAtom(1));
    assertAtomType(testedAtomTypes, "O2", matched);
}