@Test public void testNumber() { final JSONValue actual = converter.number(1); final JSONValue expected = new JSONNumber(1); assertEquals(expected, actual); }
JSONValue number(final Integer value) { return Objects.isNull(value) ? JSONNull.getInstance() : new JSONNumber(value); }
DayTimeValueConverter { JSONValue number(final Integer value) { return Objects.isNull(value) ? JSONNull.getInstance() : new JSONNumber(value); } }
DayTimeValueConverter { JSONValue number(final Integer value) { return Objects.isNull(value) ? JSONNull.getInstance() : new JSONNumber(value); } @Inject  DayTimeValueConverter(final TranslationService translationService); }
DayTimeValueConverter { JSONValue number(final Integer value) { return Objects.isNull(value) ? JSONNull.getInstance() : new JSONNumber(value); } @Inject  DayTimeValueConverter(final TranslationService translationService);  }
DayTimeValueConverter { JSONValue number(final Integer value) { return Objects.isNull(value) ? JSONNull.getInstance() : new JSONNumber(value); } @Inject  DayTimeValueConverter(final TranslationService translationService);   }