/** * Test checking if a directory is a file. * * @since 0.1.0 */ public function test_dir_is_file() { $this->assertTrue($this->mock_fs->add_file('/test', array('type' => 'dir'))); $this->assertFalse($this->fs->is_file('/test')); }