/**
  * Tests that the {@link \PDepend\Source\AST\ASTMethod::setModifiers()} method marks
  * a method as static+final.
  *
  * @return void
  */
 public function testSetModifiersMarksMethodAsStaticFinal()
 {
     $method = new ASTMethod('method');
     $method->setModifiers(State::IS_PROTECTED | State::IS_STATIC | State::IS_FINAL);
     $this->assertTrue($method->isFinal() && $method->isStatic());
 }