19 declare(strict_types=1);
31 $language = $this->getMockBuilder(Language::class)->disableOriginalConstructor()->getMock();
37 $language = $this->getMockBuilder(Language::class)->disableOriginalConstructor()->getMock();
40 $this->assertFalse($transformation->accepts(
'I hope this string is no valid path...'));
45 if (!is_file(
'/bin/sh')) {
46 $this->markTestSkipped(
'Shell /bin/sh is not available.');
49 $language = $this->getMockBuilder(Language::class)->disableOriginalConstructor()->getMock();
52 $this->assertTrue($transformation->accepts(
'/bin/sh'));