public function testGetDataModel()
	{
		$fields = array('id' => array('type' => 'key'), 'books' => array('type' => 'relationship'), 'other' => array('type' => 'text'));
		$this->config->shouldReceive('getDataModel')->once()->andReturn(new EloquentStub);
		$this->factory->shouldReceive('getEditFieldsArrays')->once()->andReturn($fields);
		$this->assertEquals($this->factory->getDataModel(), array('id' => 0, 'books' => 'books_value', 'other' => 'other_value'));
	}
 public function testGetDataModel()
 {
     $stubClass = 'Frozennode\\Administrator\\Tests\\Config\\Model\\EloquentStub';
     $this->config->shouldReceive('getOption')->once()->andReturn($stubClass);
     $this->assertEquals(get_class($this->config->getDataModel()), $stubClass);
 }