### Question:
SerializableEventConverter extends AbstractEventConverter { @Override public boolean toRemote(LocalEventData localEvent, RemoteEventData remoteEvent) { if (isSerializable(localEvent)) { remoteEvent.setEvent((Serializable) localEvent.getEvent()); remoteEvent.setSource((Serializable) localEvent.getSource()); remoteEvent.setData((Serializable) localEvent.getData()); return true; } return false; }  @Override int getPriority(); @Override boolean fromRemote(RemoteEventData remoteEvent, LocalEventData localEvent); @Override boolean toRemote(LocalEventData localEvent, RemoteEventData remoteEvent);  }### Answer:
@Test public void toRemote() { assertFalse(this.remoteConverter.toRemote(new LocalEventData(null, null, null), null)); assertFalse(this.remoteConverter.toRemote(new LocalEventData(new LogEvent(), this, this), null)); assertTrue( this.remoteConverter.toRemote(new LocalEventData(new LogEvent(), null, null), new RemoteEventData())); }