Last active
June 17, 2017 19:36
-
-
Save alnutile/08f4490172fd0d15322266b264d4ce90 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Alnutile\Example; | |
class SkeletonClassTest extends TestCase | |
{ | |
/** | |
* Test that true does in fact equal true | |
*/ | |
public function testTrueIsTrue() | |
{ | |
$name = "foo"; | |
$message = "Bar"; | |
/** @var SkeletonClass $skel */ | |
$skel = $this->app->getContainer()['skel']; | |
$results = $skel->echoPhrase($name, $message); | |
$this->assertEquals("Hello foo, Bar", $results); | |
$this->assertEquals("boo", $skel->getConfigValueByKey('baz')); | |
$this->assertEquals("bar_env", env("foo_env")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment