public function testSetGetFactoryMethod() {
$def = new Definition('stdClass');
$this
->assertNull($def
->getFactoryMethod());
$this
->assertSame($def, $def
->setFactoryMethod('foo'), '->setFactoryMethod() implements a fluent interface');
$this
->assertEquals('foo', $def
->getFactoryMethod(), '->getFactoryMethod() returns the factory method name');
}