@Test
@Ignore("Why does Mockito can't mock the final class anymore?")
public void checkDelegatesManagerInstance() {

    final AdapterDelegatesManager<List<Object>> manager = new AdapterDelegatesManager<>();
    AsyncDifferConfig<Object> config = Mockito.mock(AsyncDifferConfig.class);
    AsyncListDifferDelegationAdapter<Object> adapter = new AsyncListDifferDelegationAdapter<Object>(config, manager) {
        @Override
        public int getItemCount() {
            // Hacky but does the job
            Assert.assertTrue(manager == this.delegatesManager);
            return 0;
        }
    };
    adapter.getItemCount();
}