Prevent a method from being executed during tests Codeception
<p>When I execute <code>codecept run</code> on my terminal, I get all my tests executed. I would like to suppress one specific method from being executed.</p>

<pre><code>Api Tests (6) ---------------------------------------------------------------------
✔ ...Cest: It_should_deny_access_to_anonymous_user (1.112s)
✔ ...Cest: It_should_deny_access_to_unauthorized_user (0.26s)
✔ ...Cest: It_should_deny_access_to_host_without_any_user (0.22s)
✔ ...Cest: It_should_access_firewall_settings_with_authorized_user (0.28s)
✔ ...Cest: Token (0.21s)
✔ ...Cest: It_should_create_new_firewall_setting (0.5s)
</code></pre>

<p>The method called <code>Token</code> actually belongs to a <code>Trait</code> that my Test Class uses</p>

<pre><code>class FirewallSettingsAuthorizationCest {

    use MakeTokens;

    ...
}
</code></pre>

<p>How do I block methods in that trait from being executed as a test? </p>

<p>In general, how do I write a method that will not be tested by Codeception?</p>