@Test
public void thatConnectionCheckDisconnectedNull() {

    when(mContext.checkCallingOrSelfPermission(android.Manifest.permission.ACCESS_NETWORK_STATE)).thenReturn(PackageManager.PERMISSION_GRANTED);
    when(mConnectivityManager.getActiveNetworkInfo()).thenReturn(null);
    Assert.assertFalse(HaloUtils.isNetworkConnected(mContext));
}