def METHOD_NAME():
    baseitem = DirectGuiBase()
    testoptiondefs = (('test',0,None),)
    # Those two will usually be set in the defineoptions function
    baseitem._optionInfo = {}
    baseitem._constructorKeywords = {}
    baseitem.addoptions(testoptiondefs, {})
    assert baseitem['test'] == 0