public function testValidateDataReturnsStringError()
 {
     $this->validator->shouldReceive('override')->once()->shouldReceive('fails')->once()->andReturn(true)->shouldReceive('messages')->once()->andReturn(m::mock(array('all' => array())));
     $this->assertEquals($this->config->validateData(array(), array(1)), '');
 }