Author: heiko.braun(a)jboss.com
Date: 2007-05-24 08:28:22 -0400 (Thu, 24 May 2007)
New Revision: 3232
Modified:
branches/jbossws-2.0/jbossws-tests/src/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPWrappedTestCase.java
Log:
Verify content-type as well
Modified:
branches/jbossws-2.0/jbossws-tests/src/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPWrappedTestCase.java
===================================================================
---
branches/jbossws-2.0/jbossws-tests/src/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPWrappedTestCase.java 2007-05-24
12:26:08 UTC (rev 3231)
+++
branches/jbossws-2.0/jbossws-tests/src/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPWrappedTestCase.java 2007-05-24
12:28:22 UTC (rev 3232)
@@ -33,7 +33,7 @@
import java.net.URL;
/**
- * Test @XmlMimeType annocations on wrapped services.
+ * Test @XmlMimeType annotations on wrapped services.
* The annotations should be copied to the generated wrapper beans.
*
* @author Heiko.Braun(a)jboss.com
@@ -70,6 +70,7 @@
assertNotNull(response);
assertEquals(response.getContent(), "Server data");
+ assertEquals(response.getContentType(), "text/plain");
}
}
Show replies by date