public class QpidActivationSpecTest extends TestCase
{
public void testActivationSpecBasicSerialization() throws Exception
{
QpidActivationSpec spec = new QpidActivationSpec();
ByteArrayOutputStream out = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(out);
oos.writeObject(spec);
oos.close();
assertTrue(out.toByteArray().length > 0);