Test/Unit/Helper/PdfTest.php
Method setUp
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function setUp()
{
$this->context = $this->getMockBuilder(Context::class)
->disableOriginalConstructor()
->getMock();
Method testTemplate2Pdf
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testTemplate2Pdf()
{
$this->pdfGeneratorMock = $this->getMockBuilder(Pdfgenerator::class)
->setMethods(['getTemplateCustomForm'])