SparqlBuilderUtils { public static String getLongQuotedString(String contents) { return getEnclosedString("'''", "'''", contents, false); }  static Optional<O> getOrCreateAndModifyOptional(Optional<O> optional, Supplier<O> getter,
			UnaryOperator<O> operator); static void appendAndNewlineIfPresent(Optional<? extends QueryElement> elementOptional,
			StringBuilder builder); static void appendQueryElementIfPresent(Optional<? extends QueryElement> queryElementOptional,
			StringBuilder builder, String prefix, String suffix); static void appendStringIfPresent(Optional<String> stringOptional, StringBuilder builder, String prefix,
			String suffix); static String getBracedString(String contents); static String getBracketedString(String contents); static String getParenthesizedString(String contents); static String getQuotedString(String contents); static String getLongQuotedString(String contents);  }
@Test public void getLongQuotedStringReturnsTripleSingleQuotes() { assertThat(SparqlBuilderUtils.getLongQuotedString("string")).isEqualTo("'''string'''"); }