### Question:
Snippets { static Snippet nothing() { return (source, identifiers) -> {}; } private  Snippets(); static String source(final String template, final Object... args); static String source(final Object... snippets); static Snippet list(final Stream<?> items, final Object separator); static Snippet id(final Object object); static Snippet id(final Object object, final Object... aliases);  }### Answer:
@Test void testNothing() { final Object x=new Object(); final Object y=new Object(); assertThat(source(nothing(id(x, y)))) .as("no code generated") .isEmpty(); assertThat(source(nothing(id(x, y)), id(x), "=", id(y))) .as("snippets evaluated with side effects") .matches("(\\d+)=\\1"); }