src/Codeception/Module/WPFilesystem.php
public function seeInPluginFile($file, $contents)
    {
        Assert::assertStringEqualsFile(
            $this->config['plugins'] . Utils::unleadslashit($file),
            $contents
        );
    }
public function seeInPluginFile($file, $contents)
    {
        Assert::assertStringEqualsFile(
            $this->config['plugins'] . Utils::unleadslashit($file),
            $contents
        );
    }
public function seeInPluginFile ( $ file , $ contents ) { Assert :: assertStringEqualsFile ( $ this -> config [ 'plugins' ] . Utils :: unleadslashit ( $ file ) , $ contents ) ; }
Checks that a file in a plugin folder contains a string.

@example
``` php
$I->seeInPluginFile('my-plugin/some-file.txt', 'foo');
```

@param  string $file The path to the file, relative to the plugins root folder.
@param  string $contents The contents to check the file for.
Checks that a file in a plugin folder contains a string .