@Test public void canLookup_complexBeans() { TestObject to = local().cdiComplex(TestObject.class) .named("namedScope") .scopeControl() .find().one(); Assert.assertEquals("namedWithScopeControl", to.getValue()); }
@Test public void canLookup_complexBeans() { TestObject to = local().cdiComplex(TestObject.class) .named("namedScope") .scopeControl() .find().one(); Assert.assertEquals("namedWithScopeControl", to.getValue()); }