/** * Tests that the {@link \PDepend\Source\AST\ASTMethod::setModifiers()} method * accepts the defined visibility value. * * @return void */ public function testSetModifiersAcceptsPrivateValue() { $method = new ASTMethod('method'); $method->setModifiers(State::IS_PRIVATE); $this->assertTrue($method->isPrivate() && !$method->isPublic() && !$method->isProtected()); }