}
@Test
public void testListMultipleResultQueryWithoutReturnedType() throws Exception {
OgmSession session = openSession();
Transaction transaction = session.beginTransaction();
String nativeQuery = "MATCH ( n:" + TABLE_NAME + " ) RETURN n.name, n.author ORDER BY n.name";
@SuppressWarnings("unchecked")
List<Object[]> result = session.createNativeQuery( nativeQuery ).list();
assertThat( result ).as( "Unexpected number of results" ).hasSize( 3 );
Object[] athanasiaRow = result.get( 0 );
assertThat( athanasiaRow[0] ).isEqualTo( athanasia.getName() );
assertThat( athanasiaRow[1] ).isEqualTo( athanasia.getAuthor() );
Object[] balladeRow = result.get( 1 );
assertThat( balladeRow[0] ).isEqualTo( ballade.getName() );
assertThat( balladeRow[1] ).isEqualTo( ballade.getAuthor() );
Object[] portiaRow = result.get( 2 );
assertThat( portiaRow[0] ).isEqualTo( portia.getName() );
assertThat( portiaRow[1] ).isEqualTo( portia.getAuthor() );
transaction.commit();
session.clear();
session.close();
}