def METHOD_NAME(self):
    # Corner case to exercise internal logic: the default is not a unique
    # prefix, but it is one of the list of values, so it's legal.
    class A(HasTraits):
        foo = PrefixList(["live", "modal", "livemodal"], default="live")
    a = A()
    self.assertEqual(a.foo, "live")