public function testCustomConfigKey() { $container = $this->prophesize(ContainerInterface::class)->reveal(); $factory = new StubFactory('orm_other'); $this->assertSame('orm_other', $factory($container)); }