@Test
public void testCategoryDefaultsToApiIfInstanceIsProxy() throws Exception {

    assertThat(LoggingProxyBuilder.getCategory(MyApi.class, new MyApi.MyApiImpl())).isEqualTo(MyApi.MyApiImpl.class);
}