@Test
public void testPyridineOxide_SP2() throws Exception {

    IAtomContainer molecule = TestMoleculeFactory.makePyridineOxide();
    Iterator<IBond> bonds = molecule.bonds().iterator();
    while (bonds.hasNext())
        bonds.next().setOrder(Order.SINGLE);
    for (int i = 0; i < 6; i++) {
        molecule.getAtom(i).setHybridization(IAtomType.Hybridization.SP2);
    }
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(molecule);
    Assert.assertTrue(DoubleBondAcceptingAromaticityDetector.detectAromaticity(molecule));
}