" id=C1_L12></a><a href="#C1_L13" id=C1_L13></a></span></code></pre></div>
<p>Now let's create a test which will call <code>levelUp</code> on the player when they are
level 4 to assert that the <code>levelName</code> changes. We will use <code>module</code> together with the <code>setupTest</code> helper method:</p>
<div class="filename javascript"><div class="ribbon"></div><span>tests/unit/models/player-test.js</span><pre class="language-javascript line-numbers"><code class="javascript language-javascript"