def METHOD_NAME(self):
    QtWidgets.QFileDialog.getOpenFileName = MagicMock(return_value=(
        os.path.join(unittest_data_path, 'test.mask'),
        MaskController.DEFAULT_MASK_FILTER,
    ))
    click_button(self.mask_widget.load_mask_btn)
    first_mask = self.model.mask_model.get_img()
    self.model.add_configuration()
    self.model.mask_model.mask_below_threshold(self.model.img_data, 1)
    second_mask = self.model.mask_model.get_img()
    self.model.select_configuration(0)
    self.assertEqual(np.sum(self.mask_widget.img_widget.mask_img_item.image-first_mask), 0)
    self.model.select_configuration(1)
    self.assertEqual(np.sum(self.mask_widget.img_widget.mask_img_item.image-second_mask), 0)