def METHOD_NAME():
    # GIVEN
    app = AppSyncResolver()
    mock_event = {"typeName": "Customer", "fieldName": "field", "arguments": {}}
    @app.resolver(field_name="field")
    def func_yield():
        yield "value"
    # WHEN
    mock_context = LambdaContext()
    result = app.resolve(mock_event, mock_context)
    # THEN
    assert next(result) == "value"