@Test
public void thatConnectionCheckNoPermission() {

    when(mContext.checkCallingOrSelfPermission(android.Manifest.permission.ACCESS_NETWORK_STATE)).thenReturn(PackageManager.PERMISSION_DENIED);
    Assert.assertFalse(HaloUtils.isNetworkConnected(mContext));
}