Statements { public String getSelectWorkflowDefStatement() { return QueryBuilder.select(WORKFLOW_DEFINITION_KEY) .from(keyspace, TABLE_WORKFLOW_DEFS) .where(eq(WORKFLOW_DEF_NAME_KEY, bindMarker())) .and(eq(WORKFLOW_VERSION_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 testGetSelectWorkflowDefStatement() { String statement = "SELECT workflow_definition FROM junit.workflow_definitions WHERE workflow_def_name=? AND " + "version=?;"; assertEquals(statement, statements.getSelectWorkflowDefStatement()); }