@Test
public void setAromaticity() throws Exception {

    SMARTSQueryTool sqt = new SMARTSQueryTool("[a]", DefaultChemObjectBuilder.getInstance());
    IAtomContainer furan = smiles("O1C=CC=C1");
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(furan);
    sqt.setAromaticity(new Aromaticity(ElectronDonation.cdk(), Cycles.mcb()));
    assertTrue(sqt.matches(furan, true));
    sqt.setAromaticity(new Aromaticity(ElectronDonation.piBonds(), Cycles.mcb()));
    assertFalse(sqt.matches(furan, true));
}