@Test
public void haveAllPermissionsNo() {

    when(mActivity.checkSelfPermission(PERM0)).thenReturn(PackageManager.PERMISSION_GRANTED);
    when(mActivity.checkSelfPermission(PERM1)).thenReturn(PackageManager.PERMISSION_DENIED);
    assertFalse(mManager.haveAllPermissions());
}