/** * @expectedException InvalidArgumentException * @expectedExceptionMessage Invalid scope specified */ public function testInvalidScope() { Scopes::invalidScope(); }