public function testPersist() { $storage = new FilesystemStorage(); $storage->persist(new \Bitpay\PublicKey(vfsStream::url('tmp/public.key'))); $this->assertTrue($this->root->hasChild('tmp/public.key')); }