Add phpdoc to allow IDE fluent interface behaviour for thenReturn and thenThrow
added return type on when call
Allowing verification of non serialization friendly objects
make when match the call for ide completion