Restapi module unit test

Hi ,

I have a Rest api ansible module which basically uses GET,PUT, POST methods. I have to write unit test for these methods. Is there any reference I can look?

Thanks,
Arun