@Test
public void testCallMethod() throws Exception {

    TestObject testObject = spy(new TestObject());
    View view = mock(View.class);
    String arg1 = "florent";
    Method method = testObject.getClass().getMethod("getName", new Class[]{View.class, String.class});
    assertNotNull(CarpaccioHelper.callMethod(testObject, method, "getName", view, new Object[]{arg1}));
    verify(testObject,atLeastOnce()).getName(eq(view),eq(arg1));
}