def METHOD_NAME(self, cognite_client, mock_fit, mock_status_ok):
    entities_from = [{"id": 1, "name": "xx"}]
    entities_to = [{"id": 2, "name": "yy"}]
    model = cognite_client.entity_matching.fit(
        sources=entities_from, targets=entities_to, true_matches=[(1, 2)], feature_type="bigram"
    )
    assert isinstance(model, EntityMatchingModel)
    assert "EntityMatchingModel(id=123, status=Queued, error=None)" == str(model)
    assert 42 == model.created_time
    model.wait_for_completion()
    assert "Completed" == model.status
    assert 123 == model.id
    assert 42 == model.created_time
    assert 456 == model.status_time
    assert 789 == model.start_time
    n_fit_calls = 0
    n_status_calls = 0
    for call in mock_fit.calls:
        if call.request.method == "POST":
            n_fit_calls += 1
            assert {
                "sources": entities_from,
                "targets": entities_to,
                "trueMatches": [{"sourceId": 1, "targetId": 2}],
                "featureType": "bigram",
                "ignoreMissingFields": False,
                "matchFields": None,
                "name": None,
                "description": None,
                "externalId": None,
                "classifier": None,
            } == jsgz_load(call.request.body)
        else:
            n_status_calls += 1
            assert "/123" in call.request.url
    assert 1 == n_fit_calls
    assert 1 == n_status_calls