AutomonExpirable extends TimeExpirable { public AtomicReference setJamonDetails(Serializable details) { jamonDetails.set(details); return jamonDetails; } AutomonExpirable();  AutomonExpirable(int expirationIntervalInMinutes); List<String> getArgNamesAndValues(); void setArgNamesAndValues(List<String> argNamesAndValues); Throwable getThrowable(); void setThrowable(Throwable throwable); AtomicReference setJamonDetails(Serializable details); AtomicReference getJamonDetails(); String toString();  }
@Test public void testJamonDetailsSet() { AutomonExpirable expirable = new AutomonExpirable(); AtomicReference<Object> reference = expirable.setJamonDetails("steve"); assertThat(reference.get()).isEqualTo("steve"); }