Element extends ChemObject implements Serializable, IElement, Cloneable { @Override public String getSymbol() { if (atomicNumber == null) return null; if (atomicNumber == 0) return "R"; return Elements.ofNumber(atomicNumber).symbol(); } Element();  Element(IElement element);  Element(String symbol);  Element(String symbol, Integer atomicNumber); @Override Integer getAtomicNumber(); @Override void setAtomicNumber(Integer atomicNumber); @Override String getSymbol(); @Override void setSymbol(String symbol); @Override String toString(); @Override Object clone(); @Override boolean compare(Object object);  }
@Test public void testElement_String() { IElement e = new Element("C"); Assert.assertEquals("C", e.getSymbol()); }