public void queryTranslator() throws Exception {
FieldComparation name = new FieldComparation(new EqualsOperator(), new Field("name", "java.lang.String"), new org.mule.common.query.expression.StringValue("mariano"));
FieldComparation age = new FieldComparation(new LessOperator(), new Field("age", "int"), new IntegerValue(30));
And and = new And(name, age);
Query query = mock(Query.class);
when(query.getFilterExpression()).thenReturn(and);
String nativeQuery = this.connector.toNativeQuery(query);
assertEquals(nativeQuery, "eq(name,'mariano'), lt(age,30)");
}