diff options
Diffstat (limited to 'branches/sca-equinox/itest/validation/src/test/java/contribution/resource')
-rw-r--r-- | branches/sca-equinox/itest/validation/src/test/java/contribution/resource/AttributeURIMissingTestCase.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/branches/sca-equinox/itest/validation/src/test/java/contribution/resource/AttributeURIMissingTestCase.java b/branches/sca-equinox/itest/validation/src/test/java/contribution/resource/AttributeURIMissingTestCase.java index 69c4d40bc7..d83a4bfed9 100644 --- a/branches/sca-equinox/itest/validation/src/test/java/contribution/resource/AttributeURIMissingTestCase.java +++ b/branches/sca-equinox/itest/validation/src/test/java/contribution/resource/AttributeURIMissingTestCase.java @@ -22,7 +22,6 @@ import junit.framework.TestCase; import org.apache.tuscany.sca.monitor.Monitor; import org.apache.tuscany.sca.monitor.Problem; -import org.apache.tuscany.sca.monitor.logging.impl.DefaultLoggingMonitorImpl; import domain.CustomCompositeBuilder; @@ -52,7 +51,7 @@ public class AttributeURIMissingTestCase extends TestCase { public void testCalculator() { Monitor monitor = customDomain.getMonitorInstance(); - Problem problem = ((DefaultLoggingMonitorImpl)monitor).getProblems().get(0); + Problem problem = monitor.getProblems().get(0); assertNotNull(problem); assertEquals("AttributeURIMissing", problem.getMessageId()); |