def METHOD_NAME(self):
    mock_state = Mock()
    self._installed_data.get_state = Mock(return_value=mock_state)
    self._installed_data.update_to_current()
    self.assertTrue(mock_state.update_to_current.called)