@Override
  public void setUserGroupIfNeeded(AlluxioURI uri) {
    try {
      mFileSystem.setAttribute(uri, mSetAttributeOptions);
    } catch (IOException | AlluxioException e) {
      throw AlluxioRuntimeException.from(e);
    }
  }
@Test
  public void setUserGroupIfNeed() throws Exception {
    AlluxioURI uri = new AlluxioURI("/SetUserGroupIfNeed");
    mAuthPolicy.setUserGroupIfNeeded(uri);
    URIStatus status = mFileSystem.getStatus(uri);
    Assert.assertEquals(USER, status.getOwner());
    Assert.assertEquals(GROUP, status.getGroup());
  }