@Test public void testParticipateCallsSixpackParticipate() { PrefetchedExperiment prefetchedExperiment = new PrefetchedExperiment(mockSixpack, mockExperiment, mockAlternative); prefetchedExperiment.participate(); verify(mockSixpack).participate(mockExperiment); }
public ParticipatingExperiment participate() { return sixpack.participate(baseExperiment); }
PrefetchedExperiment { public ParticipatingExperiment participate() { return sixpack.participate(baseExperiment); } }
PrefetchedExperiment { public ParticipatingExperiment participate() { return sixpack.participate(baseExperiment); } PrefetchedExperiment(final Sixpack sixpack, final Experiment experiment, final Alternative alternative); }
PrefetchedExperiment { public ParticipatingExperiment participate() { return sixpack.participate(baseExperiment); } PrefetchedExperiment(final Sixpack sixpack, final Experiment experiment, final Alternative alternative); ParticipatingExperiment participate(); @Override boolean equals(final Object o); @Override int hashCode(); }
PrefetchedExperiment { public ParticipatingExperiment participate() { return sixpack.participate(baseExperiment); } PrefetchedExperiment(final Sixpack sixpack, final Experiment experiment, final Alternative alternative); ParticipatingExperiment participate(); @Override boolean equals(final Object o); @Override int hashCode(); final Experiment baseExperiment; final Alternative selectedAlternative; }