Allow code to set up mock responses
move unit test global constants to config file, for PSR-2 adherence.
move constants to specialised config
mock response for wp.getPosts
Base level exception for extension by other package specific exceptions.
Exception for missing authentication details in Wordpress calls.
Simple credentials object for Wordpress.
Wrapper class for a Wordpress post.
Wrapper for Wordpress post collections.
Use credentials, wrap response in Posts, and throw an exception when credentials are missing
Allow injection of a prepared Mock client when in test mode.
pass credentials through to the Wordpress object.
Build a mock response, and test that the response is correctly wrapped.