def METHOD_NAME(self):
    class C(bulkparse.BulkParser):
        format = ('one', 'two', 'three', 'optional')
        restkey = 'arg'
        required = 3
    assert C.get_header() == "#one:two:three[:optional:arg:...]"