Hook doc test code was swapped

Change-Id: Ib5e4bc3098830dfaaa9233a68ede2b3ca3799e2c
Merge "Hook doc test code was swapped"