Author: jharting
Date: 2009-07-31 09:52:43 -0400 (Fri, 31 Jul 2009)
New Revision: 3383
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java
Log:
Fixed test
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java 2009-07-31
11:03:08 UTC (rev 3382)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java 2009-07-31
13:52:43 UTC (rev 3383)
@@ -94,7 +94,7 @@
// WBRI-307
public void testUnsatisfiedDependencyThrowsException()
{
-
getInstanceByType(ObtainsInstanceBean.class).getPaymentProcessor().select(AdvancedPaymentProcessor.class).get();
+
getInstanceByType(ObtainsInstanceBean.class).getPaymentProcessor().select(RemotePaymentProcessor.class).get();
}
@Test(expectedExceptions = AmbiguousResolutionException.class)
@@ -156,7 +156,7 @@
public void testIsUnsatisfied() {
ObtainsInstanceBean injectionPoint = getInstanceByType(ObtainsInstanceBean.class);
assert !injectionPoint.getAnyPaymentProcessor().isUnsatisfied();
- assert
injectionPoint.getPaymentProcessor().select(AdvancedPaymentProcessor.class).isUnsatisfied();
+ assert
injectionPoint.getPaymentProcessor().select(RemotePaymentProcessor.class).isUnsatisfied();
}
@Test(groups= "ri-broken")
Show replies by date