@Test
public void testReactionSMILES() throws Exception {

    Reaction reaction = new Reaction();
    AtomContainer methane = new AtomContainer();
    methane.addAtom(new Atom("C"));
    reaction.addReactant(methane);
    IAtomContainer magic = new AtomContainer();
    magic.addAtom(new PseudoAtom("magic"));
    reaction.addAgent(magic);
    IAtomContainer gold = new AtomContainer();
    gold.addAtom(new Atom("Au"));
    reaction.addProduct(gold);
    methane.getAtom(0).setImplicitHydrogenCount(4);
    gold.getAtom(0).setImplicitHydrogenCount(0);
    SmilesGenerator sg = new SmilesGenerator(SmiFlavor.Generic);
    String smiles = sg.create(reaction);
    //logger.debug("Generated SMILES: " + smiles);
    Assert.assertEquals("C>*>[Au]", smiles);
}