assertEquals(0, senseiResult.getErrorCode().intValue());
}
@Test
public void testError() throws Exception{
String bql = "select1 * where color in ('red')";
SenseiResult res = senseiServiceProxy.sendBQL(bql);
assertEquals( 150, res.getErrorCode().intValue());
assertEquals( 1, res.getErrors().size());
assertEquals( "[line:1, col:0] No viable alternative (token=select1)", res.getErrors().get(0).getMessage());
assertEquals( "BQLParsingError", res.getErrors().get(0).getErrorType());
}