public function successMethodShouldReturnAJsonResponse() { // Arrange... $responder = $this->app->make('responder'); // Act... $response = $responder->success(); // Assert... $this->assertInstanceOf(JsonResponse::class, $response); }