def METHOD_NAME(self):
    """Tests that all fields are initialized correctly."""
    t_parameter = Parameter("t")
    with self.assertWarns(DeprecationWarning):
        hamiltonian = t_parameter * Z + Y
    time = 2
    initial_state = One
    aux_operators = [X, Y]
    param_value_dict = {t_parameter: 3.2}
    with self.assertWarns(DeprecationWarning):
        evo_problem = EvolutionProblem(
            hamiltonian,
            time,
            initial_state,
            aux_operators,
            t_param=t_parameter,
            param_value_dict=param_value_dict,
        )
        expected_hamiltonian = Y + t_parameter * Z
    expected_time = 2
    expected_initial_state = One
    expected_aux_operators = [X, Y]
    expected_t_param = t_parameter
    expected_param_value_dict = {t_parameter: 3.2}
    with self.assertWarns(DeprecationWarning):
        self.assertEqual(evo_problem.hamiltonian, expected_hamiltonian)
    self.assertEqual(evo_problem.time, expected_time)
    self.assertEqual(evo_problem.initial_state, expected_initial_state)
    self.assertEqual(evo_problem.aux_operators, expected_aux_operators)
    self.assertEqual(evo_problem.t_param, expected_t_param)
    self.assertEqual(evo_problem.param_value_dict, expected_param_value_dict)