/** * @covers \DCarbone\PHPClassBuilder\Template\Structure\FunctionTemplate::setStatic * @covers \DCarbone\PHPClassBuilder\Template\Structure\FunctionTemplate::isStatic * @depends testCanConstructWithoutArguments */ public function testCanSetAsStaticPostConstruct() { $func = new FunctionTemplate(); $func->setStatic(true); $this->assertTrue($func->isStatic()); }