AtomSignature extends AbstractVertexSignature { @Override protected int getIntLabel(int vertexIndex) { IAtom atom = molecule.getAtom(vertexIndex); return atom.getMassNumber(); } AtomSignature(int atomIndex, IAtomContainer molecule);  AtomSignature(IAtom atom, IAtomContainer molecule);  AtomSignature(int atomIndex, int height, IAtomContainer molecule);  AtomSignature(IAtom atom, int height, IAtomContainer molecule);  AtomSignature(int atomIndex, int height, InvariantType invariantType, IAtomContainer molecule);  AtomSignature(IAtom atom, int height, InvariantType invariantType, IAtomContainer molecule);   }
@Test public void getIntLabelTest() { atomContainer.getAtom(0).setMassNumber(12); Assert.assertEquals(12, atomSignature.getIntLabel(0)); }