public function toJsonMethodShouldReturnJson()
{
// Arrange...
$responseBuilder = $this->app->make('responder.error');
// Act...
$json = $responseBuilder->toCollection();
// Assert...
$this->assertEquals(json_encode(['success' => false, 'error' => null]), $json);
}