Пример #1
0
 public function testIfBundleIsCleaned()
 {
     $this->assertEquals('Core.foo', $this->frameworkExtension->convertToTranslation('SumoCoders_FrameworkCoreBundle_foo'));
     $this->assertEquals('Namespace.NameOfThe.foo', $this->frameworkExtension->convertToTranslation('Namespace_NameOfTheBundle_foo'));
 }
 /**
  * Test FrameworkExtension->getName()
  */
 public function testGetName()
 {
     $this->assertEquals('framework_extension', $this->frameworkExtension->getName());
 }