def METHOD_NAME(self, block, name, default):
    if self.user:
        assert self.user is TESTUSER
    assert block == 'block'
    if name == 'foo':
        return 'fu'
    elif name == 'oh':
        return 'man'
    return default