add mock to the requirements
add test cases for wrap method of the Client
rework wrap method of the Client