def METHOD_NAME(make_stubber, error_code):
    lambda_client = boto3.client('lambda')
    lambda_stubber = make_stubber(lambda_client)
    wrapper = LambdaWrapper(lambda_client, None)
    func_name = 'test-func_name'
    lambda_stubber.stub_get_function(func_name, error_code=error_code)
    if error_code in (None, 'ResourceNotFoundException'):
        wrapper.get_function(func_name)
    else:
        with pytest.raises(ClientError) as exc_info:
            wrapper.get_function(func_name)
        assert exc_info.value.response['Error']['Code'] == error_code