@Test
public void testFindObjectWithThisMethod() throws Exception {

    Controller1 testObject = new Controller1();
    Controller2 testObjectfail = new Controller2();
    ObjectAndMethod objectAndMethod = CarpaccioHelper.findObjectWithThisMethod(Arrays.asList(testObjectfail, testObject), "setText", 2);
    assertNotNull(objectAndMethod);
    assertEquals(testObject, objectAndMethod.getObject());
    assertEquals("setText", objectAndMethod.getMethod().getName());
    assertEquals(2, objectAndMethod.getMethod().getParameterTypes().length);
}