public function testDataGettersSetter()
 {
     $data = ['foo', 'bar'];
     $responseContainer = new ResponseModel();
     $responseContainer->setData($data);
     $this->assertEquals($data, $responseContainer->getData());
 }
 public function testToArrayStatusCode()
 {
     $responseContainer = new ResponseModel();
     $responseContainer->setData('foo');
     $responseContainer->setReturnStatusCode(true);
     $result = $responseContainer->toArray();
     $this->assertEquals(Response::HTTP_OK, $result['statusCode']);
 }