  @Test
  public void zoomLevelMinMax() {

    VncRenderService service = new VncRenderService(null);

    assertEquals(1.0, service.zoomLevelProperty().get(), 0.01);
    service.zoomLevelProperty().set(0.0);
    assertNotEquals(0.0, service.zoomLevelProperty().get(), 0.01);
    service.zoomLevelProperty().set(Double.MAX_VALUE);
    assertNotEquals(Double.MAX_VALUE, service.zoomLevelProperty().get(), 0.01);
    service.zoomLevelProperty().set(1.1);
    assertEquals(1.1, service.zoomLevelProperty().get(), 0.01);
  }