Function mocking with Patchwork 06

What is born out of a convenience for testing on my side is becoming the de-facto interface of the function mocking tool.

Developer friendly because it’s a developer tool

While I do like fluent methods I like DRY code more and will use methods like this

FunctionMocker::mock('get_post_meta')->shoulBeCalledAtMostTimes(1);

to wrap the real method that’s acting under there

FunctionMocker::mock('get_post_meta')->shouldBeCalledTimes('<=1')

and I think the soon-to-ship version 0.2.0 will sport that interface to keep things simple.

I appreciate your input