@expectedException \InvalidArgumentException @dataProvider getInvalidParentScopes
public function testAddScopeDoesNotAllowInvalidParentScope($scope) { $c = new Container(); $c ->addScope(new Scope('foo', $scope)); }