@Test
public void getObjectID() throws Exception {

    final OtherClass otherClass = new OtherClass();
    Assert.assertEquals("Check object ID", Long.valueOf(-1), ExcelFieldService.getObjectID(otherClass));
    final TestClass testclass = new TestClass((long) 10);
    Assert.assertEquals("Check object ID", Long.valueOf(10), ExcelFieldService.getObjectID(testclass));
}