@Before public void beforeMss() { this.before = MemSnapshot.take(); }
@After public void afterMss() { compareMss(name.getMethodName(), this.before, MemSnapshot.take()); }
private static void compareMss(String hdr, MemSnapshot before, MemSnapshot after) { MemSnapshot.used(before, after).print(hdr); }