@Test
public void testRunnableWithResultReturnsResultOnSuccess() throws Exception {

    PerformanceMonitor perfMon = new PerformanceMonitor();
    Integer returnResult = 21;
    Integer callResult = perfMon.invoke(new ConstantSuccessPerformer(5), returnResult);
    assertEquals(returnResult, callResult);
}