}
@SuppressWarnings("unchecked")
@Test
public void testNativeQueryWithResultSetMapping() {
SObject sobject = createSObject("QueryTestEntity__c", "a00000000000000AAA");
sobject.setField("Name", "QueryTestEntity1");
sobject.setField("entityType__c", "AAA");
sobject.setField("number__c", "1.0");
mockQueryConn.setSObjectsForQueryResult(Lists.newArrayList(sobject));
String nativeQuery = "select id, name, entityType__c, number__c from querytestentity__c";
String resultSetMapping = "QueryTestMapping"; // See @SqlResultSetMapping 'QueryTestMapping' in QueryTestEntity