isLeaf() public method

Return true if this is designated as a leaf node.
public isLeaf ( ) : boolean
return boolean
 /**
  * @depends testLoadIsLeafMapping
  * @param ClassMetadata $class
  */
 public function testIsLeafMapping($class)
 {
     $this->assertTrue($class->isLeaf());
 }