@Test
public void testHashCode() throws Exception {

    boolean alwaysDifferent = true;
    for(int i=0;i<10;i++){
        PropertySource ps1 = DefaultPropertySourceSnapshot.of(MY_PS);
        PropertySource ps2 = DefaultPropertySourceSnapshot.of(MY_PS);
        // sometimes not same, because frozenAt in ms maybe different
        if(ps1.hashCode()==ps2.hashCode()){
            alwaysDifferent=false;
            break;
        }
    }
    if(alwaysDifferent){
        fail("HashCode should be same if frozenAt is in the same ms...");
    }
}