def METHOD_NAME(self, a_traitsdata):
    trait_set = set(a_traitsdata.traitSet())
    new_trait = "another trait"
    a_traitsdata.addTrait(new_trait)
    trait_set.add(new_trait)
    assert a_traitsdata.traitSet() == trait_set