shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java
public static Status getStatus(Account account, String authority, boolean create) {
    Map<Account, Status> map = syncableAccounts.get(authority);
    if (map == null) {
      map = new HashMap<>();
      syncableAccounts.put(authority, map);
    }
    Status status = map.get(account);
    if (status == null && create) {
      status = new Status();
      map.put(account, status);
    }
    return status;
  }
public static Status getStatus(Account account, String authority, boolean create) {
    Map<Account, Status> map = syncableAccounts.get(authority);
    if (map == null) {
      map = new HashMap<>();
      syncableAccounts.put(authority, map);
    }
    Status status = map.get(account);
    if (status == null && create) {
      status = new Status();
      map.put(account, status);
    }
    return status;
  }
public static Status getStatus ( Account account , String authority , boolean create ) { Map < Account , Status > map = syncableAccounts . get ( authority ) ; if ( map == null ) { map = new HashMap <> ( ) ; syncableAccounts . put ( authority , map ) ; } Status status = map . get ( account ) ; if ( status == null && create ) { status = new Status ( ) ; map . put ( account , status ) ; } return status ; }
Retrieve information on the status of the given account.

@param account the account
@param authority the authority
@param create whether to create if no such account is found
@return the account's status
Retrieve information on the status of the given account .