@Test public void test() { final Activity activity = CONTEXT.mock(Activity.class); CONTEXT.checking(new Expectations() { { oneOf(interstingnessStrategMocky).computeInterestingness(activity); } }); sut.objectToString(activity); }
public String objectToString(final Object msgObject) { Activity activity = (Activity) msgObject; return Long.toString(interstingnessStrategy.computeInterestingness(activity)); }
ActivityLikesClassBridge implements StringBridge { public String objectToString(final Object msgObject) { Activity activity = (Activity) msgObject; return Long.toString(interstingnessStrategy.computeInterestingness(activity)); } }
ActivityLikesClassBridge implements StringBridge { public String objectToString(final Object msgObject) { Activity activity = (Activity) msgObject; return Long.toString(interstingnessStrategy.computeInterestingness(activity)); }  }
ActivityLikesClassBridge implements StringBridge { public String objectToString(final Object msgObject) { Activity activity = (Activity) msgObject; return Long.toString(interstingnessStrategy.computeInterestingness(activity)); }  static void setInterstingnessStrategy(
            final ComputeInterestingnessOfActivityStrategy inInterstingnessStrategy); String objectToString(final Object msgObject); }
ActivityLikesClassBridge implements StringBridge { public String objectToString(final Object msgObject) { Activity activity = (Activity) msgObject; return Long.toString(interstingnessStrategy.computeInterestingness(activity)); }  static void setInterstingnessStrategy(
            final ComputeInterestingnessOfActivityStrategy inInterstingnessStrategy); String objectToString(final Object msgObject);  }