public function testUnknownField() { $model = new Category(); $field = $model->getField('something', false); $this->assertNull($field); }