def METHOD_NAME(model2):
    contact = model2.fs.contact
    nz = len(contact.iznodes)
    nt = len(model2.fs.time)
    soc_testing._build_test_utility(
        contact,
        comp_dict={
            pyo.Var: {
                "temperature_z": nz * nt,
                "temperature_deviation_x": nz * nt,
                "heat_flux_x0": nz * nt,
                "current_density": nz * nt,
                "length_z": 1,
                "length_y": 1,
                "heat_flux_x1": nz * nt,
                "log_preexponential_factor": 1,
                "thermal_exponent_dividend": 1,
                "contact_fraction": 1,
            },
            pyo.Constraint: {"heat_flux_x_eqn": nz * nt},
            pyo.Expression: {
                "temperature": nz * nt,
                "contact_resistance": nz * nt,
                "voltage_drop_total": nz * nt,
                "joule_heating_flux": nz * nt,
            },
        },
    )
    assert degrees_of_freedom(model2.fs.contact) == 0