@Test
public void userIdExtractionFromAmFlags() {

  assertEquals(MultiUserUtils.PRIMARY_USERID, MultiUserUtils.getUserIdFromAmParameters(""));
  assertEquals(MultiUserUtils.PRIMARY_USERID, MultiUserUtils.getUserIdFromAmParameters(" --user"));
  assertEquals(MultiUserUtils.PRIMARY_USERID, MultiUserUtils.getUserIdFromAmParameters(" --user   0"));
  assertEquals(20, MultiUserUtils.getUserIdFromAmParameters(" --user  20"));
}