Orbit implements Iterable<Integer>, Cloneable { @Override public String toString() { return label + " " + Arrays.deepToString(atomIndices.toArray()); } Orbit(String label, int height); @Override Iterator<Integer> iterator(); @Override Object clone(); void sort(); int getHeight(); List<Integer> getAtomIndices(); void addAtom(int atomIndex); boolean hasLabel(String otherLabel); boolean isEmpty(); int getFirstAtom(); void remove(int atomIndex); String getLabel(); boolean contains(int atomIndex); @Override String toString();  }
@Test public void toStringTest() { Assert.assertEquals("ORBIT [0, 1, 2, 3]", orbit.toString()); }