### Question:
OpenSessionOptionBuilder { public OpenSessionOptionBuilder setRegisterObjectEvent(final boolean registerObjectEvent) { this.registerObjectEvent = registerObjectEvent; return this; }  OpenSessionOptionBuilder setOpenSessionOnly(final boolean openSessionOnly); OpenSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef); OpenSessionOptionBuilder setCamera(final CanonCamera camera); OpenSessionOptionBuilder setCameraByIndex(final Integer cameraByIndex); OpenSessionOptionBuilder setCameraBySerialNumber(final String cameraBySerialNumber); OpenSessionOptionBuilder setRegisterObjectEvent(final boolean registerObjectEvent); OpenSessionOptionBuilder setRegisterPropertyEvent(final boolean registerPropertyEvent); OpenSessionOptionBuilder setRegisterStateEvent(final boolean registerStateEvent); OpenSessionOption build();  }### Answer:
@Test void setRegisterObjectEvent() { final OpenSessionOption option = builder .setCamera(canonCamera) .setCameraBySerialNumber("adawda") .setRegisterObjectEvent(true) .build(); }