예제 #1
0
 /**
  * @dataProvider canHandleProvider
  */
 public function testCanHandle($id, $version, $contentType, $expected)
 {
     $writer = new JsonODataV2Writer();
     $actual = $writer->canHandle($version, $contentType);
     $this->assertEquals($expected, $actual, $id);
 }