public function setErrorMethodShouldAddErrorData()
{
// Arrange...
$responseBuilder = $this->app->make('responder.error');
// Act...
$responseBuilder->setError('testing_error');
// Assert...
$this->assertEquals(['success' => false, 'error' => ['code' => 'testing_error', 'message' => null]], $responseBuilder->toArray());
}