/** * Test getting a list of files. * * @since 0.1.0 */ public function test_dirlist() { // See https://github.com/sebastianbergmann/phpunit/issues/454#issuecomment-32171137 try { $this->fs->dirlist('/test'); throw new Exception('Failed asserting that an exception was thrown.'); } catch (Exception $e) { $this->assertEquals('WP_Filesystem_Mock::dirlist is not implemented yet.', $e->getMessage()); } }