Here's the scenario: you have code that will emit headers and content,
for instance, a front controller. How do you test this?
The answer is remarkably simple, but non-obvious: namespaces.
Now that Zend_Test
has shipped, developers are of course asking, "How do I setup my test
suite?" Fortunately, after some discussion with my colleagues and a little
experimenting on my one, I can answer that now.