DotsUnited\BundleFu\Tests\FactoryTest::testCreateBundleAcceptsStringArgument PHP Méthode

testCreateBundleAcceptsStringArgument() public méthode

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