public function testNullableLogger() { $api = new Api($this->getSession(), null); $this->assertTrue($api->getLogger() instanceof NullLogger); }