public static function buildMock($expectedStatus, $optional = false)
    {
        $returnValue = null;

        
        self::incrementMockCount();
        $returnValue = new common_configuration_Mock($expectedStatus, 'MockComponentCheck_' . self::getMockCount());
        $returnValue->setOptional($optional);
        

        return $returnValue;
    }
public static function buildMock($expectedStatus, $optional = false)
    {
        $returnValue = null;

        
        self::incrementMockCount();
        $returnValue = new common_configuration_Mock($expectedStatus, 'MockComponentCheck_' . self::getMockCount());
        $returnValue->setOptional($optional);
        

        return $returnValue;
    }
public static function buildMock ( $ expectedStatus , $ optional = false ) { $ returnValue = null ; self :: incrementMockCount ( ) ; $ returnValue = new common_configuration_Mock ( $ expectedStatus , 'MockComponentCheck_' . self :: getMockCount ( ) ) ; $ returnValue -> setOptional ( $ optional ) ; return $ returnValue ; }
Short description of method buildMock

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  int expectedStatus
@param  boolean optional
@return common_configuration_Mock
Short description of method buildMock