public function testFromId() { $this->assertInstanceOf('Gc\\Datatype\\Model', Model::fromId($this->object->getId())); $this->assertFalse(Model::fromId('undefined id')); }