I have these values coming from a test
previousTokenValues[1] = \"1378994409108\" currentTokenValues[1] = \"1378994416509\"
and I try
you can also try below simple soln:
previousTokenValues[1] = "1378994409108"; currentTokenValues[1] = "1378994416509"; Long prev = Long.parseLong(previousTokenValues[1]); Long curr = Long.parseLong(currentTokenValues[1]); Assert.assertTrue(prev > curr );