Statements { public String getInsertTaskDefStatement() { return QueryBuilder.insertInto(keyspace, TABLE_TASK_DEFS) .value(TASK_DEFS_KEY, TASK_DEFS_KEY) .value(TASK_DEF_NAME_KEY, bindMarker()) .value(TASK_DEFINITION_KEY, bindMarker()) .getQueryString(); } @Inject  Statements(CassandraConfiguration config); String getInsertWorkflowDefStatement(); String getInsertWorkflowDefVersionIndexStatement(); String getInsertTaskDefStatement(); String getSelectWorkflowDefStatement(); String getSelectAllWorkflowDefVersionsByNameStatement(); String getSelectAllWorkflowDefsStatement(); String getSelectTaskDefStatement(); String getSelectAllTaskDefsStatement(); String getUpdateWorkflowDefStatement(); String getDeleteWorkflowDefStatement(); String getDeleteWorkflowDefIndexStatement(); String getDeleteTaskDefStatement(); String getInsertWorkflowStatement(); String getInsertTaskStatement(); String getInsertEventExecutionStatement(); String getSelectTotalStatement(); String getSelectTaskStatement(); String getSelectWorkflowStatement(); String getSelectWorkflowWithTasksStatement(); String getSelectTaskFromLookupTableStatement(); String getSelectTasksFromTaskDefLimitStatement(); String getSelectAllEventExecutionsForMessageFromEventExecutionsStatement(); String getUpdateWorkflowStatement(); String getUpdateTotalTasksStatement(); String getUpdateTotalPartitionsStatement(); String getUpdateTaskLookupStatement(); String getUpdateTaskDefLimitStatement(); String getUpdateEventExecutionStatement(); String getDeleteWorkflowStatement(); String getDeleteTaskLookupStatement(); String getDeleteTaskStatement(); String getDeleteTaskDefLimitStatement(); String getDeleteEventExecutionsStatement(); String getInsertEventHandlerStatement(); String getSelectAllEventHandlersStatement(); String getDeleteEventHandlerStatement();  }
@Test public void testGetInsertTaskDefStatement() { String statement = "INSERT INTO junit.task_definitions (task_defs,task_def_name,task_definition) VALUES ('task_defs',?,?);"; assertEquals(statement, statements.getInsertTaskDefStatement()); }