tests/unit/Subjects/ExportableTraitTest.php
/**
     * Test the addArtefacts() method with an empty array of artefacts.
     *
     * @return void
     */
Test the addArtefacts() method with an empty array of artefacts.
@return void
Test the addArtefacts () method with an empty array of artefacts . @return void
public function testAddArtefactsWithEmptyArray()
    {
        $this->assertNull($this->exportableTrait->addArtefacts('product-variants', array()));
        $this->assertCount(0, $this->exportableTrait->getArtefacts());
    }
public function testAddArtefactsWithEmptyArray ( ) { $ this -> assertNull ( $ this -> exportableTrait -> addArtefacts ( 'product-variants' , array ( ) ) ) ; $ this -> assertCount ( 0 , $ this -> exportableTrait -> getArtefacts ( ) ) ; }
Test the addArtefacts() method with an empty array of artefacts.
Test the addArtefacts () method with an empty array of artefacts .