def METHOD_NAME(self):
    element = VectorElement("CG", "triangle", 1)
    v  = TestFunction(element)
    u  = TrialFunction(element)
    f  = Coefficient(element)
    i, j, k, l = indices(4)
    a = v[i]
    self.assertSameIndices(a, (i,))
    a = outer(v, u)[i, j]
    self.assertSameIndices(a, (i, j))
    a = outer(v, u)[i, i]
    self.assertSameIndices(a, ())
    self.assertIsInstance(a, IndexSum)