Statements { public String getInsertWorkflowDefVersionIndexStatement() { return QueryBuilder.insertInto(keyspace, TABLE_WORKFLOW_DEFS_INDEX) .value(WORKFLOW_DEF_INDEX_KEY, WORKFLOW_DEF_INDEX_KEY) .value(WORKFLOW_DEF_NAME_VERSION_KEY, bindMarker()) .value(WORKFLOW_DEF_INDEX_VALUE, 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 testGetInsertWorkflowDefVersionStatement() { String statement = "INSERT INTO junit.workflow_defs_index (workflow_def_version_index,workflow_def_name_version,workflow_def_index_value) VALUES ('workflow_def_version_index',?,?);"; assertEquals(statement, statements.getInsertWorkflowDefVersionIndexStatement()); }