/**
  * @test
  * @fixture("Store")
  */
 function notEmptySuccessTest()
 {
     $request = $this->sendRequest(self::API_NAMESPACE, self::API_CONTROLLER, self::ACTION);
     $this->assertEquals('200 OK', $request->getStatusCode());
     $json = json_decode($request->getContent());
     $this->assertNotEquals(0, Store::count());
     $this->assertEquals(count($json->data), Store::count());
     foreach ($json->data as $data) {
         $this->assertNotEmpty($data->id);
         $this->assertNotEmpty($data->name);
         $this->assertNotEmpty($data->user);
         $this->assertNotEmpty($data->created_at);
         $this->assertNotEmpty($data->updated_at);
     }
 }