public function testGetListWineSuccessNoWine() { $wine_infor = Wine::destroy(1); $response = $this->call('GET', 'api/wine'); $wine = Wine::all(); $this->assertEquals(array("code" => ApiResponse::OK, "data" => $wine->toArray()), json_decode($response->getContent(), true)); }