### Question:
SQLTransaction { @Override public String toString() { return "SagaBranchTransaction{" + "dataSourceName='" + dataSourceName + '\'' + ", sql='" + sql + '\'' + ", parameters=" + parameters + ", executeStatus=" + executeStatus + ", revertSQLResult=" + revertSQLResult + '}'; } SQLTransaction(final String dataSourceName, final String sql, final List<Collection<Object>> parameters, final ExecuteStatus executeStatus); @Override String toString();  }### Answer:
@Test public void assertToString() { SQLTransaction sqlTransaction = new SQLTransaction(dataSourceName, sql, getStringParameterSets()); assertThat(new SQLTransaction(dataSourceName, sql, getStringParameterSets()).toString(), is(sqlTransaction.toString())); assertThat(new SQLTransaction(dataSourceName, sql, getMixedParameterSets()).toString(), is(sqlTransaction.toString())); }