'getRuntime']); $this->assertInstanceOf('stdClass', $loader->load('stdClass')); } public function testLoadReturnsNullForUnmappedRuntime() { $loader = new FactoryRuntimeLoader(); $this->assertNull($loader->load('stdClass')); } } function getRuntime() { return new \stdClass(); }