instance = $this->app->make({{ tested_class }}::class); } {% for method in public_methods %} /** * Test for the {{ method }} method */ public function test_{{ method }}() { $this->assertTrue(method_exists($this->instance, '{{ method }}')); } {% endfor %} }