def METHOD_NAME(self):
    # Loop through each combination of dof constraints and test element matrix inner product sens
    for dep_dofs in self.dep_dofs_constrained:
        with self.subTest(dep_dofs=dep_dofs):
            element = elements.RBE2(self.num_nodes, dep_dofs)
            for matrix_type in self.matrix_types:
                with self.subTest(matrix_type=matrix_type):
                    fail = elements.TestElementMatSVSens(
                        element,
                        matrix_type,
                        self.elem_index,
                        self.time,
                        self.xpts,
                        self.vars,
                        self.dh,
                        self.print_level,
                        self.atol,
                        self.rtol,
                    )
                    self.assertFalse(fail)