@Test
public void testSerializationWithListener() {

    action.addActionListener(new BoundAction());
    BoundAction serialized = serialize(action);
    
    assertThat(serialized, is(equivalentTo(action)));
}