### Question:
CanonStateEventImpl implements CanonStateEvent { @Override public EdsCameraRef getCameraRef() { return cameraRef; } 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 getCameraRef() { final EdsCameraRef ref = canonStateEvent.getCameraRef(); Assertions.assertNotNull(ref); Assertions.assertEquals(cameraRef, ref); Assertions.assertSame(cameraRef, canonStateEvent.getCameraRef()); }