/** @since 0.1 */
  @Test
  public void buildStatement() throws Exception {
    ValuesStatement statement =
        ValuesStatement.newBuilder(Values.protectedStrings())
            .tableName("table")
            .addValue("value1")
            .addValue("value2")
            .addLabel("label")
            .build();

    Assert.assertEquals(statement.getSQL(), "(values (\'value1\'),(\'value2\')) table(label)");
  }
 /** @since 0.1 */
 @Test(expectedExceptions = IllegalArgumentException.class)
 public void buildNoLabels() throws Exception {
   ValuesStatement.newBuilder(Values.protectedStrings())
       .addValue("value")
       .tableName("table")
       .build();
 }
 /** @since 0.1 */
 @Test(expectedExceptions = NullPointerException.class)
 public void newBuilderNullFunction() throws Exception {
   ValuesStatement.newBuilder(null);
 }