getCustom() public method

Indicates whether this is a custom template created by the merchant. Non custom templates are system generated
public getCustom ( ) : boolean
return boolean
Example #1
0
 /**
  * @depends testSerializationDeserialization
  * @param Template $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getTemplateId(), "TestSample");
     $this->assertEquals($obj->getName(), "TestSample");
     $this->assertEquals($obj->getDefault(), true);
     $this->assertEquals($obj->getTemplateData(), TemplateDataTest::getObject());
     $this->assertEquals($obj->getSettings(), TemplateSettingsTest::getObject());
     $this->assertEquals($obj->getUnitOfMeasure(), "TestSample");
     $this->assertEquals($obj->getCustom(), true);
 }