@Test
public void checkInstance() {
AnnotationLiteral<Chocolate> qualifier = new AnnotationLiteral<Chocolate>() {
};
Instance<IceCreamService> chocolateInstance = allFlavours.select(qualifier);
IceCreamService iceCreamService = chocolateInstance.get();
assertThat(iceCreamService.getFlavour(), is("Chocolate"));
instance.select(IceCreamService.class, qualifier).get();
}