@Test
public void eager_load()
{
ObjectCreator creator = mockObjectCreator();
Object service = new Object();
ServiceActivityTracker tracker = mockServiceActivityTracker();
replay();
JustInTimeObjectCreator j = new JustInTimeObjectCreator(tracker, creator, SERVICE_ID);
verify();
// First access: use the creator to get the actual object.
train_createObject(creator, service);
tracker.setStatus(SERVICE_ID, Status.REAL);
replay();
j.eagerLoadService();