@Test
public void testGetSimpleFieldDefinitions() {

    SoqlQueryAnalyzer analyzer = new SoqlQueryAnalyzer("SELECT Id, Name FROM Account", n -> this.describeSObject(n));
    List<FieldDef> actuals = listFlatFieldDefinitions(analyzer.getFieldDefinitions());
    assertEquals(2, actuals.size());
    assertEquals("Id", actuals.get(0).getName());
    assertEquals("id", actuals.get(0).getType());
    assertEquals("Name", actuals.get(1).getName());
    assertEquals("string", actuals.get(1).getType());
}