}
public void testWithLazyInitFalseAndAlwaysRefreshFalse() {
Object returnValue = new Object();
Closure refreshFunction = (Closure) EasyMock.createMock(Closure.class);
EasyMock.expect(refreshFunction.call(null)).andReturn(returnValue);
EasyMock.replay(refreshFunction);
RefreshableValueHolder valueHolder = new RefreshableValueHolder(refreshFunction, false, false);
assertSame(returnValue, valueHolder.getValue());