public static function unsetContainer() { static::$container = null; }
public function testThrowsExceptionWhenNoContainerAvailable() { \PHPUnit_Framework_TestCase::setExpectedExceptionRegExp('\\RuntimeException', '/container is not initialized yet.*/'); Robo::unsetContainer(); Robo::getContainer(); }