/**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $application = new Application();
     $command = $application->find(PrisonerDilemmaCommand::COMMAND_NAME);
     $this->commandTester = new CommandTester($command);
 }
 public function testGetDefinition()
 {
     $application = new Application();
     $this->assertAttributeEmpty('arguments', $application->getDefinition());
 }
예제 #3
0
<?php

/**
 * File index.php
 *
 * @author Edward Pfremmer <*****@*****.**>
 */
use PHPWeekly\Application;
require_once 'vendor/autoload.php';
$application = new Application();
$application->run();