PharmacophoreQueryAtom extends Atom implements IQueryAtom { public String getSmarts() { return smarts; } PharmacophoreQueryAtom(String symbol, String smarts); @Override String getSymbol(); @Override void setSymbol(String symbol); String getSmarts(); @Override boolean matches(IAtom atom); @Override String toString();  }
@Test public void testGetSmarts() { PharmacophoreQueryAtom qatom = new PharmacophoreQueryAtom("aromatic", "c1ccccc1"); Assert.assertEquals("c1ccccc1", qatom.getSmarts()); }