public class JAXBSerializerTestCase extends junit.framework.TestCase
{
public void testSerializer() throws Exception
{
JAXBSerializer serializer = new JAXBSerializer();
SerializationContext context = new SerializationContextJAXWS();
context.setProperty(SerializationContextJAXWS.JAXB_CONTEXT_TYPES, new Class[]{GetCars.class});
context.setJavaType(GetCars.class);
QName qname = new QName("http://jbossws.jboss.org", "GetSedansResponse");
GetCars response = new GetCars();
List<Car> cars = new ArrayList<Car>();
Toyota camry = new Toyota();