docker-pipeline-test/tests/HelloApplicationTest.php

16 lines
307 B
PHP
Raw Permalink Normal View History

2021-12-03 15:46:00 +00:00
<?php
namespace Hello;
class HelloApplicationTest extends \PhpUnit\Framework\TestCase
{
/**
* @covers HelloApplication::getMessage
*/
public function testTheMessage()
{
$app = new HelloApplication();
$this->assertEquals("Hello World!\n", $app->getMessage());
}
}