@Test
public void testBB_AutomaticSearchCentreActiveFormaldehyde() throws Exception {

    IReactionProcess type = new HeterolyticCleavagePBReaction();
    IAtomContainerSet setOfReactants = getExampleReactants();
    IAtomContainer molecule = setOfReactants.getAtomContainer(0);
    /* automatic search of the reactive atoms and bonds */
    List<IParameterReact> paramList = new ArrayList<IParameterReact>();
    IParameterReact param = new SetReactionCenter();
    param.setParameter(Boolean.FALSE);
    paramList.add(param);
    type.setParameterList(paramList);
    /* initiate */
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(molecule);
    makeSureAtomTypesAreRecognized(molecule);
    IReactionSet setOfReactions = type.initiate(setOfReactants, null);
    Assert.assertEquals(1, setOfReactions.getReactionCount());
    Assert.assertEquals(1, setOfReactions.getReaction(0).getProductCount());
    IAtomContainer product = setOfReactions.getReaction(0).getProducts().getAtomContainer(0);
    Assert.assertTrue(uiTester.isIsomorph(getExpectedProducts().getAtomContainer(0), product));
}