Should add more tests like

InodeFile inode1 = new InodeFile("test1", Integer.Max, 0);
Assert.assertEquals(Interger.Max, inode1.getId());

Whether it is Integer.MAX or Long.MAX depends on the type of the second paramter of InodeFile() constructor.