@Test
public void testConvertLinkFromLongValue() {

    // A int/long that is wrapped between two at (@) symbols must always
    // convert to a Link
    Number number = Random.getLong();
    String value = MessageFormat.format("{0}{1}", "@", number.toString()); // must
                                                                           // use
                                                                           // number.toString()
                                                                           // so
                                                                           // comma
                                                                           // separators
                                                                           // are
                                                                           // not
                                                                           // added
                                                                           // to
                                                                           // the
                                                                           // output
    Link link = (Link) Convert.stringToJava(value);
    Assert.assertEquals(number.longValue(), link.longValue());
}