@Test
public void testGetVariables()
{

    String sql = "select * from dataelement where name = '${de_name}' and aggregationType = '${de_aggregation_type}'";
    Set<String> variables = SqlViewUtils.getVariables( sql );
    assertEquals( 2, variables.size() );
    assertTrue( variables.contains( "de_name" ) );
    assertTrue( variables.contains( "de_aggregation_type" ) );
}