* @copyright (c) Kohana Team * @license https://koseven.ga/LICENSE.md */ class Kohana_ORMTest extends Unittest_TestCase { /** * Ensure has() doesn't attempt to count non-countables. * * @test * @covers ORM::has */ public function test_has() { $orm = new ORM_Example; $result = $orm->has('children', FALSE); $this->assertSame(FALSE, $result); } } class ORM_Example extends Kohana_ORM { public function __construct() { } }