@Test
public void shouldReturnFailureForInvalidDelete() {

  assertThat(databaseDeleteFunction(databaseSupplier)
          .apply(sqlDeleteRequest()
              .table(INVALID_TABLE)
              .compile()).getFailure(),
      instanceOf(SQLException.class));
}