ample-container"><pre><code class="block lang-kotlin" theme="idea">val number: NonZeroInt? = NonZeroInt.createOrNull(23)<br>assertEquals(expected = "23", actual = "$number")</code></pre><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></details><br>
<details>
<summary>
    <b>Calling from Java</b>
</summary><p class="paragraph">Here's an example of call