FORGE-1855: Simple Container should support singleton services

How to test this?
Why is SingletonServiceTest being deployed as a service provider?

> Em 06/06/2014, às 18:59, Matej Briskar <notifications@github.com> escreveu:
> 
> In tests/src/test/java/org/jboss/forge/furnace/container/simple/SingletonServiceTest.java:
> 
> > +import org.junit.runner.RunWith;
> > +
> > +@RunWith(Arquillian.class)
> > +public class SingletonServiceTest
> > +{
> > +   @Deployment
> > +   @Dependencies({
> > +            @AddonDependency(name = "org.jboss.forge.furnace.container:simple")
> > +   })
> > +   public static ForgeArchive getDeployment()
> > +   {
> > +      ForgeArchive archive = ShrinkWrap.create(ForgeArchive.class)
> > +               .addClasses(SingletonServiceTest.class)
> > +               .addClasses(SimpleSingletonInstance.class)
> > +               .addAsServiceProvider(SingletonService.class, SimpleSingletonInstance.class)
> > +               .addAsServiceProvider(Service.class, SingletonServiceTest.class)
> what do you mean? Classes?
> 
> —
> Reply to this email directly or view it on GitHub.