the following code is in the setUp() method of class TestSegment:
this.inputSource11 = new InputCell(1, 1);
this.activeSynapseObject = new Synapse(this.inputSource11);
this.inputSource11.setActiveState(true);
this.segmentObject.addSynapse(this.activeSynapseObject);
The following is the error in line 95 of TestSegment:
public void testGetSynapse()
{
assertEquals(
this.activeSynapseObject,
this.segmentObject.getSynapse(inputSource11));
}

My guess is that you have put two objects in the assertions. They possess the same value but they are different object instances. I would advice you to define an
equals()comparing the field values method in your object asassertEquals()relies upon the equals method as below: