<?php /* * Copyright (c) 2015 GOTO Hidenori <*****@*****.**>, * All rights reserved. * * This file is part of CodeMetamodel-PHP. * * This program and the accompanying materials are made available under * the terms of the BSD 2-Clause License which accompanies this * distribution, and is available at http://opensource.org/licenses/BSD-2-Clause */ require_once __DIR__ . '/../vendor/autoload.php'; use DomainCoder\Metamodel\Code\Application; $application = new Application(); $application->run();
/** * @test */ public function test() { // to cover Application#getDefaultCommands() $definition = $this->application->getDefinition(); $this->assertThat($definition, $this->isInstanceOf(InputDefinition::class)); }