@@ -0,0 +1,1230 @@
+package com.github.tinosteinort.beanrepository;%0A%0Aimport org.junit.Test;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0A/**%0A * Special Test Case for Issue#3%0A */%0Apublic class DryRunTest %7B%0A%0A    @Test public void dryRunWithReferenceCollector() %7B%0A%0A        final BeanRepository repo = new BeanRepository.BeanRepositoryBuilder()%0A                .singleton(CollectorA.class, CollectorA::new)%0A                .singleton(CollectorB.class, CollectorB::new)%0A                .singleton(ServiceBeta.class, ServiceBeta::new)%0A                .singleton(ServiceAlpha.class, ServiceAlpha::new, ServiceBeta.class)%0A                .build();%0A%0A        repo.getBean(ServiceAlpha.class);%0A    %7D%0A%7D%0A%0Aclass ServiceAlpha %7B%0A%0A    private final ServiceBeta serviceBeta;%0A%0A    ServiceAlpha(final ServiceBeta serviceBeta) %7B%0A        this.serviceBeta = serviceBeta;%0A    %7D%0A%7D%0A%0Aclass ServiceBeta implements PostConstructible %7B%0A%0A    private final List%3CCollector%3E collectors = new ArrayList%3C%3E();%0A%0A    @Override public void onPostConstruct(final BeanRepository repository) %7B%0A        collectors.addAll(repository.getBeansOfType(Collector.class));%0A    %7D%0A%7D%0A%0Ainterface Collector %7B%0A%0A%7D%0A%0Aclass CollectorA implements Collector %7B%0A%0A%7D%0A%0Aclass CollectorB implements Collector %7B%0A%0A%7D

Create UnitTest for Issue#3