FailoverPersistenceStoreModel implements Serializable { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(siddhiSnapshot); result = prime * result + ((streamStatuses == null) ? 0 : streamStatuses.hashCode()); return result; } FailoverPersistenceStoreModel(Map<String, StreamStatusDTO> streamStatuses, byte[] siddhiSnapshot);  FailoverPersistenceStoreModel(byte[] bytes); Map<String, StreamStatusDTO> getStreamStatuses(); byte[] getSiddhiSnapshot(); byte[] FailOverPersistenceModelToByte(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testHashCode() throws Exception { assertTrue("Expected hashcode higher than zero", persistenceModel.hashCode()!=0); }