public testCreateBundleAcceptsStringArgument ( ) |
public function testCreateBundleAcceptsStringArgument()
{
$factory = new Factory(array('name' => 'foo'));
$bundle = $factory->createBundle('bar');
$this->assertEquals('bar', $bundle->getName());
}