@Test
public void checkDelegatesManagerInstance() {

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