コード例 #1
0
 public function testGetSize()
 {
     $this->adapter->write('dummy.txt', '1234', new Config());
     $result = $this->adapter->getSize('dummy.txt');
     $this->assertInternalType('array', $result);
     $this->assertArrayHasKey('size', $result);
     $this->assertEquals(4, $result['size']);
 }