Instantly share code, notes, and snippets.

Embed
What would you like to do?
Snippet from RuntimeProviderTest.php
<?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