コード例 #1
0
ファイル: EntityTest.php プロジェクト: ihor/ouchbase
 public function testGetId()
 {
     $entity = new TestEntity('test-id', 'test-value');
     $this->assertEquals('test-id', $entity->getId());
 }
コード例 #2
0
ファイル: EntityTest.php プロジェクト: evanjt/core
 public function testGetItInt()
 {
     $entity = new TestEntity();
     $entity->setId(3);
     $this->assertEquals('integer', gettype($entity->getId()));
 }
コード例 #3
0
ファイル: EntityProxyTest.php プロジェクト: ihor/ouchbase
 public function testGetId()
 {
     $this->assertEquals('test-id', $this->proxy->getId());
 }