def METHOD_NAME():
    # Set up some dummy variables
    timestamp1 = datetime.datetime(2018, 3, 1, 5, 3, 35)
    timestamp2 = datetime.datetime(2018, 3, 1, 5, 8, 35)
    timestamp3 = datetime.datetime(2020, 3, 1, 1, 1, 1)
    time_range = TimeRange(start=timestamp1, end=timestamp2)
    time_range2 = TimeRange(start=timestamp2, end=timestamp3)
    objects_list = [Detection(np.array([[1], [2]])),
                    Detection(np.array([[3], [4]])),
                    Detection(np.array([[5], [6]]))]
    assoc1 = SingleTimeAssociation(objects=set(objects_list),
                                   timestamp=timestamp1)
    assoc2 = TimeRangeAssociation(objects=set(objects_list[1:]),
                                  time_range=time_range)
    assoc2_same_objects = TimeRangeAssociation(objects=set(objects_list[1:]),
                                               time_range=time_range2)
    assoc_set = AssociationSet({assoc1, assoc2})
    assert assoc_set.associations == {assoc1, assoc2}
    assert assoc1 in assoc_set
    assert assoc2 in assoc_set
    assert 'a' not in assoc_set
    assoc_iter = iter(assoc_set)
    for assoc in assoc_iter:
        assert assoc in {assoc1, assoc2}
    assert len(assoc_set) == 2
    # test _simplify method
    simplify_test = AssociationSet({assoc1, assoc2, assoc2_same_objects})
    assert len(simplify_test.associations) == 2
    # Test associations including objects
    # Object only present in object 1
    assert assoc_set.associations_including_objects(objects_list[0]) \
        == AssociationSet({assoc1})
    # Object present in both
    assert assoc_set.associations_including_objects(objects_list[1]) \
        == AssociationSet({assoc1, assoc2})
    # Object present in neither
    assert assoc_set.associations_including_objects(Detection(np.array([[0], [0]]))) \
        == AssociationSet()
    # Test associations including timestamp
    # Timestamp present in one object
    assert assoc_set.associations_at_timestamp(timestamp2) \
        == AssociationSet({assoc2})
    # Timestamp present in both
    assert assoc_set.associations_at_timestamp(timestamp1) \
        == AssociationSet({assoc1, assoc2})
    # Timestamp not present in either
    timestamp4 = datetime.datetime(2022, 3, 1, 6, 8, 35)
    assert assoc_set.associations_at_timestamp(timestamp4) \
        == AssociationSet()