@Test void setReleaseCameraRef() { final CloseSessionOption option = builder .setCameraRef(cameraRef) .setReleaseCameraRef(true) .build(); Assertions.assertNotNull(option.getCameraRef()); Assertions.assertTrue(option.isReleaseCameraRef()); final CloseSessionOption option1 = builder.build(); Assertions.assertEquals(option, option1); Assertions.assertEquals(option.hashCode(), option1.hashCode()); }
public CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef) { this.releaseCameraRef = releaseCameraRef; return this; }
CloseSessionOptionBuilder { public CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef) { this.releaseCameraRef = releaseCameraRef; return this; } }
CloseSessionOptionBuilder { public CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef) { this.releaseCameraRef = releaseCameraRef; return this; }  }
CloseSessionOptionBuilder { public CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef) { this.releaseCameraRef = releaseCameraRef; return this; }  CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef); CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef); CloseSessionOptionBuilder setCamera(final CanonCamera camera); CloseSessionOption build(); }
CloseSessionOptionBuilder { public CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef) { this.releaseCameraRef = releaseCameraRef; return this; }  CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef); CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef); CloseSessionOptionBuilder setCamera(final CanonCamera camera); CloseSessionOption build();  }