phpPatterns.com has this new article posted today to show how you can create "mock functions" that SimpleTest won't have a problem with.
Being able to "mock" aFunctionIDontWantToTest in a similar manner to Mock Objects would be a big help.
When dealing with external projects that you either want to re-use parts of or refactor, being able to write unit tests is often a big problem, especially if it’s written in procedural code.
He demonstrates the method, creating the mock objects directly/staticly in the MockFunction class...




