- assertThat(peerTO.getMethods().size(), is(5));
- Method getPort = findFirstMethodByName(peerTO.getMethods(),
- "getPort");
+ assertThat(peerTO.getMethods().size(), is(5 + 2/*hashCode Equals*/));
+
+ Method getPort = findFirstMethodByName(peerTO.getMethods(), "getPort");