StreamRepartitionStrategy { public boolean equals(Object obj) { if (!(obj instanceof StreamRepartitionStrategy)) { return false; } StreamRepartitionStrategy o = (StreamRepartitionStrategy) obj; return partition.equals(o.partition) && CollectionUtils.isEqualCollection(totalTargetBoltIds, o.totalTargetBoltIds); }  int hashCode(); boolean equals(Object obj); StreamPartition getPartition(); void setPartition(StreamPartition partition); int getNumTotalParticipatingRouterBolts(); void setNumTotalParticipatingRouterBolts(int numTotalParticipatingRouterBolts); int getStartSequence(); void setStartSequence(int startSequence); List<String> getTotalTargetBoltIds(); void setTotalTargetBoltIds(List<String> totalTargetBoltIds); public StreamPartition partition; public int numTotalParticipatingRouterBolts; public int startSequence; public List<String> totalTargetBoltIds; }
@Test public void testStreamRepartitionStrategy1() { thrown.expect(NullPointerException.class); StreamRepartitionStrategy streamRepartitionStrategy = new StreamRepartitionStrategy(); streamRepartitionStrategy.equals(streamRepartitionStrategy); }