Ejemplo n.º 1
0
 public function guess($filepath)
 {
     return $this->typeGuesser->guess($filepath);
 }
 /**
  * @test
  * @dataProvider validImageFileProvider
  */
 public function givenImageFile_returnType($filepath, $expectedType)
 {
     $this->assertEquals($expectedType, $this->typeGuesser->guess($filepath));
 }