Last active
April 25, 2017 10:12
-
-
Save eriktorsner/07d6a65557cfc6ac647a70cf918bca86 to your computer and use it in GitHub Desktop.
Snippet from RuntimeProviderTest.php
This file contains 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 | |
public function testRegister() | |
{ | |
$container = new Pimple\Container(); | |
$provider = new RuntimeProvider(); | |
$provider->register($container); | |
$this->assertInstanceOf('helloTestable\Lyrics', $container['lyrics']); | |
$this->assertInstanceOf('helloTestable\helloTestable', $container['helloTestable']); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment