def METHOD_NAME() -> None:
    session = MagicMock()
    client = OpenLineageClient(url="http://example.com", session=session)
    client.emit(
        DatasetEvent(
            eventTime="2021-11-03T10:53:52.427343",
            producer="producer",
            schemaURL="datasetSchemaUrl",
            dataset=Dataset(namespace="my-namespace", name="my-ds"),
        ),
    )
    session.post.assert_called_with(
        "http://example.com/api/v1/lineage",
        '{"dataset": {"facets": {}, "name": "my-ds", '
        '"namespace": "my-namespace"}, "eventTime": '
        '"2021-11-03T10:53:52.427343", "producer": "producer", '
        '"schemaURL": "datasetSchemaUrl"}',
        timeout=5.0,
        verify=True,
    )