def METHOD_NAME(self):
    self.load_phases()
    self.assertEqual(len(self.widget.cake_widget.phases), 6)
    self.model.phase_model.del_phase(3)
    self.assertEqual(len(self.widget.cake_widget.phases), 5)