/**
  * Tests the parseSubElements method
  *
  * @covers phpDocumentor\Reflection\ClassReflector::isFinal
  *
  * @return void
  */
 public function testIsFinal()
 {
     $node = new NodeMock2();
     $class_reflector = new ClassReflector($node);
     $this->assertFalse($class_reflector->isFinal());
     $node->type = \PHPParser_Node_Stmt_Class::MODIFIER_FINAL;
     $this->assertTrue($class_reflector->isFinal());
 }