Example #1
0
 /**
  * Test the Model::get_* method.
  *
  * @group laravel
  */
 public function testAttributeGetterMethodReturnsAttribute()
 {
     $array = array('setter' => 'foo', 'getter' => 'bar');
     $model = new Model($array);
     $this->assertEquals('setter: foo', $model->get_setter());
     $this->assertEquals('getter: bar', $model->get_getter());
 }