# divergence theorem for a rank 2 tensor

I wanted to double-check on something. We all know that for a vector field $$T$$:

$$\int dV \nabla \cdot T = \int d\hat{n}\cdot T$$

My understanding is that this is still true if $$T$$ is a rank-2 tensor, it's just that the equation becomes a vector equation. But I wanted to double-check. Are there any wrinkles in using the divergence theorem in this case?