@Test
 public void lookupSingleton() {
   SingletonBean bean = finder.find(SingletonBean.class);
   assertThat(bean).isNotNull();
   SingletonBean bean2 = finder.find(SingletonBean.class);
   assertThat(bean).isSameAs(bean2);
 }
 @Test
 public void lookupPrototype() {
   Bean bean = finder.find(Bean.class);
   assertThat(bean).isNotNull();
   Bean bean2 = finder.find(Bean.class);
   assertThat(bean).isNotSameAs(bean2);
 }
 @Test(expected = BeanNotFoundFailure.class)
 public void tooMany() {
   TooMany found = finder.find(TooMany.class);
   assertThat(found).isNotNull();
 }
 @Test(expected = BeanNotFoundFailure.class)
 public void notFound() {
   finder.find(getClass());
 }