@sasikanth It should all work as you'd expect, most of Paging is in a JVM library so unit testing is actually rather straightforward. Have you seen the official docs and samples?

developer.android.com/topic/li

github.com/android/architectur