def METHOD_NAME(streams_dict, fixture_name):
    stream = streams_dict[fixture_name]
    inputs = {
        "current_stream_state": {"created_time": "2021-10-10T00:00:00.00Z"},
        "latest_record": {"created_time": "2021-10-20T00:00:00.00Z"},
    }
    state = stream.get_updated_state(**inputs)
    assert state["created_time"] == pendulum.parse("2021-10-20T00:00:00.00Z")
    inputs = {"current_stream_state": state, "latest_record": {"created_time": "2021-10-30T00:00:00.00Z"}}
    state = stream.get_updated_state(**inputs)
    assert state["created_time"] == pendulum.parse("2021-10-30T00:00:00.00Z")