def METHOD_NAME(self):
    with patch("cura.CuraApplication.CuraApplication.getInstance", MagicMock(return_value=self._application)):
        # If nothing is added, we still expect to get the all files filter
        assert self._container_manager.getContainerNameFilters("") == ['All Files (*)']
        # Pretend that a new type was added.
        self._container_registry.getContainerTypes = MagicMock(return_value=[("None", None)])
        assert self._container_manager.getContainerNameFilters("") == ['UnitTest! (*.omg)', 'All Files (*)']