def METHOD_NAME(self):
    config = self.make_section_config({})
    save_mock = Mock()
    section = SectionConfig('Name', config, {}, save_mock)
    section.set('option', 42)
    self.assertEqual('42', config['option'])
    # Automatically saved value
    save_mock.assert_any_call()