@Test
public void testB3() throws Exception {

    IAtomContainer mol = DefaultChemObjectBuilder.getInstance().newInstance(IAtomContainer.class);
    IAtom b = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "B");
    IAtom f1 = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "F");
    IAtom f2 = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "F");
    IAtom f3 = DefaultChemObjectBuilder.getInstance().newInstance(IAtom.class, "F");
    IBond b1 = DefaultChemObjectBuilder.getInstance().newInstance(IBond.class, b, f1, IBond.Order.SINGLE);
    IBond b2 = DefaultChemObjectBuilder.getInstance().newInstance(IBond.class, b, f2, IBond.Order.SINGLE);
    IBond b3 = DefaultChemObjectBuilder.getInstance().newInstance(IBond.class, b, f3, IBond.Order.SINGLE);
    mol.addAtom(b);
    mol.addAtom(f1);
    mol.addAtom(f2);
    mol.addAtom(f3);
    mol.addBond(b1);
    mol.addBond(b2);
    mol.addBond(b3);
    StructGenMatcher matcher = new StructGenMatcher();
    IAtomType matched;
    matched = matcher.findMatchingAtomType(mol, mol.getAtom(0));
    assertAtomType(testedAtomTypes, "B3", matched);
    matched = matcher.findMatchingAtomType(mol, mol.getAtom(1));
    assertAtomType(testedAtomTypes, "F1", matched);
    matched = matcher.findMatchingAtomType(mol, mol.getAtom(2));
    assertAtomType(testedAtomTypes, "F1", matched);
    matched = matcher.findMatchingAtomType(mol, mol.getAtom(3));
    assertAtomType(testedAtomTypes, "F1", matched);
}