public function name() { return $this->identity['object']; }
public function testGetsName() { $object = new StorageObject($this->connection->reveal(), $name = 'object.txt', 'bucket'); $this->assertEquals($name, $object->name()); }