public function testLogger() { $snippet = $this->snippetFromMethod(LoggingClient::class, 'logger'); $snippet->addLocal('logging', $this->client); $res = $snippet->invoke('logger'); $this->assertInstanceOf(Logger::class, $res->returnVal()); }