1. Made rapidFtrApplication field of RapidFtrActivity, so that spying rapidFtrActivity will use same application object
2. In isOnline() method, instead of getting application using 'getApplicationInstance' .. Used class field value
1. Intent removed
2. created spy of RapidFtrApplication and used same for rapidFtrActivity, so isOnline() works.