public class QueryReturnTypeTest extends BaseJPAQueryTest {
@SuppressWarnings("unchecked")
@Test
public void testBooleanReturnType() {
SObject sobject = createSObject("DataTypesTestEntity__c");
sobject.setField("booleanType__c", "true");
mockQueryConn.setSObjectsForQueryResult(Lists.newArrayList(sobject));
mockQueryConn.setExpectedSoqlQuery("select o.booleanType__c from datatypestestentity__c o ");
String query = "select o.booleanType from " + DataTypesTestEntity.class.getSimpleName() + " o";