Neuron implements Serializable { public long getIdentifier() { return identifier; } Neuron(long identifier,
           double[] features); long getIdentifier(); int getSize(); double[] getFeatures(); boolean compareAndSetFeatures(double[] expect,
                                         double[] update);  }
@Test public void testGetIdentifier() { final long id = 1234567; final Neuron n = new Neuron(id, new double[] { 0 }); Assert.assertEquals(id, n.getIdentifier()); }