title: HBase application: Unit testing by mocking the HBase
body: <p>I have a method  in my application which is accessing data from HBase. It uses scan method to query hbase. I want to write unit test cases for testing this function. So I want to mock the hbase calls. How to do it? I am using Mockit for mocking. </p>