'Create a fresh new L{Flags} subclass for each unit test to use.  Since
L{Flags} is stateful, re-using the same subclass across test methods
makes exercising all of the implementation code paths difficult.'

def setUp(self):

    class FXF(Flags, ):
        READ = FlagConstant()
        WRITE = FlagConstant()
        APPEND = FlagConstant()
        EXCLUSIVE = FlagConstant(32)
        TEXT = FlagConstant()
    self.FXF = FXF
