@Test
public void testGetLessThanZero() {
try {
NBestList n = new NBestList();
n.addResult("r1", 2, 2, 2);
n.addResult("r2", 22, 222, 23);
if (!(n.get(-1) == null))
fail("get() not working as expected!");
}
catch (Exception e) {
fail("get() not working, due to exceptions: " + e.getMessage());