public function setFactoryMethodNameAcceptsValidStrings() { $this->objectConfiguration->setFactoryMethodName('someMethodName'); $this->assertSame('someMethodName', $this->objectConfiguration->getFactoryMethodName()); }