2223242526272829303132
} @Test public void integer() { JSDecimalIntegerLiteral integer = codeModel.integer(1); Assert.assertEquals(1, integer.asLong()); Assert.assertEquals(1, integer.asNumber().longValue()); Assert.assertEquals(1, integer.asDecimal().longValue()); } }