def METHOD_NAME(self):
    """An OPDSAuthenticationFlow object must get a value for `type`
    _somehow_, or authentication_flow_document() will fail.
    """
    flow = MockFlowWithoutType()
    pytest.raises(
        ValueError, flow.authentication_flow_document, 'argument'
    )