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;
    }