PdfVersionAdapterWithFallback { public PdfVersion getVersion() { return version; } PdfVersionAdapterWithFallback(String userFriendlyName); PdfVersion getVersion();  }
@Test public void testPositiveFallback() { assertEquals(PdfVersion.VERSION_1_4, new PdfVersionAdapterWithFallback("4").getVersion()); }
@Test public void testPositive() { assertEquals(PdfVersion.VERSION_1_6, new PdfVersionAdapterWithFallback("1.6").getVersion()); }
@Test(expected = SejdaRuntimeException.class) public void missingPoint() { new PdfVersionAdapterWithFallback("9").getVersion(); }