/** * Test getting a directory's contents. * * @since 0.1.0 */ public function test_get_dir_contents_array() { $this->assertTrue($this->mock_fs->add_file('/test', array('type' => 'dir'))); $this->assertFalse($this->fs->get_contents_array('/test')); }