@Test
public void testInterpret() {

  String sizeVal = "size";
  InterpreterResult result = intp.interpret("import org.apache.ignite.IgniteCache\n" +
          "val " + sizeVal + " = ignite.cluster().nodes().size()", INTP_CONTEXT);
  assertEquals(InterpreterResult.Code.SUCCESS, result.code());
  assertTrue(result.message().contains(sizeVal + ": Int = " + ignite.cluster().nodes().size()));
  result = intp.interpret("\"123\"\n  .toInt", INTP_CONTEXT);
  assertEquals(InterpreterResult.Code.SUCCESS, result.code());
}