Functions::constant and Functions::throwException
Mock: added thenAnswer
fixed output buffers
Merge remote-tracking branch 'origin/master'