@Test
public void testGetClosingParentheses()
{

    assertThat( AnalyticsSqlUtils.getClosingParentheses( null ), is( "" ) );
    assertThat( AnalyticsSqlUtils.getClosingParentheses( "" ), is( "" ) );
    assertThat( AnalyticsSqlUtils.getClosingParentheses( "from(select(select (*))" ), is( ")" ) );
    assertThat( AnalyticsSqlUtils.getClosingParentheses( "((" ), is( "))" ) );
    assertThat( AnalyticsSqlUtils.getClosingParentheses( "ckwk3rkwptp2)2upywjnmne0o92ylzf4rw(5arbll1c0qrawpdh8n(89h)57r8j7er6qc1vnghnmsx4mssa77idrcrwcx0tuh359" ), is( ")" ) );
}