def METHOD_NAME(self):
    self.mock_popen.return_value.returncode = 0
    self.mock_popen.return_value.communicate.return_value = (
        "Output",
        "Error",
    )
    optimizer = self.get_optimizer(filters=["strip_icc"])
    optimizer.run_optimizer(".jpg", "")
    command = self.mock_popen.call_args[0][0]
    self.assertIn("-copy", command)
    self.assertIn("comments", command)
    self.assertNotIn("all", command)
    optimizer = self.get_optimizer()
    optimizer.run_optimizer(".jpg", "")
    command = self.mock_popen.call_args[0][0]
    self.assertIn("-copy", command)
    self.assertIn("all", command)
    self.assertNotIn("comments", command)