You are here

public function ApplicationTest::testSetGetName in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Tests/ApplicationTest.php \Symfony\Component\Console\Tests\ApplicationTest::testSetGetName()

File

vendor/symfony/console/Tests/ApplicationTest.php, line 77

Class

ApplicationTest

Namespace

Symfony\Component\Console\Tests

Code

public function testSetGetName() {
  $application = new Application();
  $application
    ->setName('foo');
  $this
    ->assertEquals('foo', $application
    ->getName(), '->setName() sets the name of the application');
}