AnyInt
Creates an instance of AnyInt with the specified value.
Calling from Kotlin
Here's an example of calling this function from Kotlin code:
val number = AnyInt(1)
assertEquals(expected = "1", actual = "$number")
Content copied to clipboard
Calling from Java
The Java function generated from this one is AnyIntFactory.create
. Here's an example of calling it from Java code:
final AnyInt number = AnyIntFactory.create(1);
final String actual = number.toString();
final String expected = "1";
Assertions.assertEquals(expected, actual);
Content copied to clipboard