### Question:
CanonStateEventImpl implements CanonStateEvent { @Override public EdsStateEvent getStateEvent() { return stateEvent; } CanonStateEventImpl(final EdsCameraRef cameraRef, final EdsStateEvent stateEvent, final long inEventData); @Override EdsCameraRef getCameraRef(); @Override EdsStateEvent getStateEvent(); @Override long getEventData(); @Override String toString();  }### Answer:
@Test void getObjectEvent() { final EdsStateEvent event = canonStateEvent.getStateEvent(); Assertions.assertNotNull(event); Assertions.assertEquals(stateEvent, event); Assertions.assertSame(stateEvent, canonStateEvent.getStateEvent()); }