class Alpha(object):

    def __init__(self):
        self._internal_dict = {}

def setvalue(self, key, val):
    self._internal_dict[key] = val

def getvalue(self, key):
    return self._internal_dict[key]

def test_alpha_setvalue():
    alpha = Alpha()
How do I unit test a method that sets internal data, but doesn't return?