SpringStat springStat = new SpringStat();
SpringMethodInfo b1 = new SpringMethodInfo(B.class, B.class.getMethod("f", int.class));
SpringMethodInfo b2 = new SpringMethodInfo(B.class, B.class.getMethod("f", int.class));
SpringMethodStat methodStat1 = springStat.getMethodStat(b1, true);
SpringMethodStat methodStat2 = springStat.getMethodStat(b2, true);
Assert.assertSame(methodStat1, methodStat2);
}