tests/unit/Subjects/AbstractSubjectTest.php
/**
     * Test the getDefaultCallbackMappings() method.
     *
     * @return void
     */
Test the getDefaultCallbackMappings() method.
@return void
Test the getDefaultCallbackMappings () method . @return void
public function testGetDefaultCallbackMappings()
    {
        $abstractSubject = $this->getMockBuilder('TechDivision\Import\Subjects\AbstractSubject')
                                ->setConstructorArgs($this->getMockSubjectConstructorArgs())
                                ->getMockForAbstractClass();
        $this->assertCount(0, $abstractSubject->getDefaultCallbackMappings());
    }
public function testGetDefaultCallbackMappings ( ) { $ abstractSubject = $ this -> getMockBuilder ( 'TechDivision\Import\Subjects\AbstractSubject' ) -> setConstructorArgs ( $ this -> getMockSubjectConstructorArgs ( ) ) -> getMockForAbstractClass ( ) ; $ this -> assertCount ( 0 , $ abstractSubject -> getDefaultCallbackMappings ( ) ) ; }
Test the getDefaultCallbackMappings() method.
Test the getDefaultCallbackMappings () method .
// initialize the abstract subject that has to be tested // make sure the default callback mappings are an empty array