@Test
public void testGetFormat() {

    String filename = "data/smiles/test2.smi";
    logger.info("Testing: " + filename);
    InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename);
    IteratingSMILESReader reader = new IteratingSMILESReader(ins, DefaultChemObjectBuilder.getInstance());
    IResourceFormat format = reader.getFormat();
    assertTrue(format instanceof SMILESFormat);
}