}
@Test
public void testBaseWrapper()
{
BaseWrapper wrapper = new BaseWrapper()
{
public ConversionScore conversionScore(Class cls)
{
return ConversionScore.nomatch;
}
public void marshal(OutputStream out)
{
}
public Object convert(Type type)
{
return null;
}
};
Object value = new Object();
wrapper.setValue(value);
assert value.equals(wrapper.getValue());
// For code-coverage completeness
wrapper.unmarshal();
wrapper.setCallContext(null);
try
{
wrapper.serialize(null);
}
catch (IOException ex)
{
}
}