RelationshipTest.php 520 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. namespace lithium\tests\cases\data\model;
  9. use lithium\data\model\Relationship;
  10. class RelationshipTest extends \lithium\test\Unit {
  11. public function testRespondsTo() {
  12. $query = new Relationship();
  13. $this->assertTrue($query->respondsTo('foobarbaz'));
  14. $this->assertFalse($query->respondsTo(0));
  15. }
  16. }
  17. ?>