public function testItem() { $model = $this->_model; $data = array('title' => 'new post', 'content' => 'This is a new post.'); $result = $model::create($data, array('defaults' => false)); $this->assertEqual($data, $result->data()); }