I'm a little lost.

The first one tests that updateComposerHeader works correctly.  I think that one is not in question, right?
The second one tests that it is being called on some state change, and is being questioned for its assurance.

Corey, where do you mean we would spy localize?