@Test
public void testCdkBondToCMLBond_Wedge() throws IOException {

    IChemObjectBuilder builder = DefaultChemObjectBuilder.getInstance();
    IBond bond = builder.newInstance(IBond.class);
    bond.setOrder(IBond.Order.SINGLE);
    bond.setStereo(IBond.Stereo.UP);
    Convertor convertor = new Convertor(true, null);
    CMLBond cmlBond = convertor.cdkBondToCMLBond(bond);
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    Serializer serializer = new Serializer(out, "UTF-8");
    serializer.write(new Document(cmlBond));
    out.close();
    String expected = "<bondStereo dictRef=\"cml:W\">W</bondStereo>";
    String actual = new String(out.toByteArray());
    Assert.assertTrue(actual.contains(expected));
}