pivotal/robolectric — pull request #371 by blundell (2012-11-27 17:01:59+00:00)
Title: Added static method appendEscapedSQLString() support to DatabaseUtils

StringBuilder builder = new StringBuilder();
ShadowDatabaseUtils.appendEscapedSQLString( builder , "foobar" );
assertThat( builder.toString(), equalTo( "'foobar'" ) );