@Test
public void toWithClassAndTypeShouldDelegates() throws Exception {

    when(mockResponse.to(Object.class,(Type)Object.class)).thenReturn(10);
    assertEquals(10, toTest.to(Object.class, (Type)Object.class));
}