@Test
public void testExampleFile_MolReading() throws Exception {

    String filename = "data/moss/TKO.mossoutput";
    InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename);
    MoSSOutputReader reader = new MoSSOutputReader(ins);
    IAtomContainerSet moleculeSet = new AtomContainerSet();
    moleculeSet = reader.read(moleculeSet);
    Assert.assertEquals(19, moleculeSet.getAtomContainerCount());
    for (IAtomContainer mol : moleculeSet.atomContainers()) {
        Assert.assertEquals(Integer.valueOf(mol.getProperty("atomCount").toString()).intValue(), mol.getAtomCount());
        Assert.assertEquals(Integer.valueOf(mol.getProperty("bondCount").toString()).intValue(), mol.getBondCount());
    }
}