def METHOD_NAME(self):
    e = self.engine
    for state in (0, 1):
        for var in (e.revar, e.casevar, e.wordvar, e.wrapvar):
            var.set(state)
        frame, options = self.btn_test_setup(
                self.dialog.create_option_buttons)
        for spec, button in zip (options, frame.pack_slaves()):
            var, label = spec
            self.assertEqual(button['text'], label)
            self.assertEqual(var.get(), state)
            if state == 1:
                button.deselect()
            else:
                button.select()
            self.assertEqual(var.get(), 1 - state)