public function testAcl() { $snippet = $this->snippetFromMethod(Bucket::class, 'acl'); $snippet->addLocal('bucket', $this->bucket); $res = $snippet->invoke('acl'); $this->assertInstanceOf(Acl::class, $res->returnVal()); }