'This functions is called to:
1. Sort the tests, getSortedInjectionTests() - detection phase.
2. Etc.'

@staticmethod
def getIdentifiedDbms():

    dbms = None
    if (not kb):
        pass
    elif (Backend.getForcedDbms() is not None):
        dbms = Backend.getForcedDbms()
    elif (Backend.getDbms() is not None):
        dbms = Backend.getDbms()
    elif (kb.get('injection') and kb.injection.dbms):
        dbms = unArrayizeValue(kb.injection.dbms)
    elif Backend.getErrorParsedDBMSes():
        dbms = unArrayizeValue(Backend.getErrorParsedDBMSes())
    elif conf.get('dbms'):
        dbms = conf.get('dbms')
    return aliasToDbmsEnum(dbms)
