SimpleSecurityLink test = new SimpleSecurityLink(EXTERNAL_ID_BUNDLE);
assertEquals(EXTERNAL_ID_BUNDLE, LinkUtils.best(test));
}
public void test_best_bothIds() {
SimpleSecurityLink test = new SimpleSecurityLink(OBJECT_ID);
test.setExternalId(EXTERNAL_ID_BUNDLE);
assertEquals(OBJECT_ID, LinkUtils.best(test));
}