you don't have to create a new function mGetViewForTest. mInstance is a view object.