@Test @DisplayName("test object toString") void toString_Success() { ResultSet mockResultSet = Mockito.mock(ResultSet.class); UUID uuid = UUID.randomUUID(); ResultSetSourceInfo resultSetSourceInfo = new ResultSetSourceInfo(mockResultSet, uuid); Assertions.assertTrue(resultSetSourceInfo.toString().contains(uuid.toString())); }
@Override public String toString() { return String.format("ResultSet with SourceId: %s", getSourceId()); }
ResultSetSourceInfo extends AbstractSourceInfo { @Override public String toString() { return String.format("ResultSet with SourceId: %s", getSourceId()); } }
ResultSetSourceInfo extends AbstractSourceInfo { @Override public String toString() { return String.format("ResultSet with SourceId: %s", getSourceId()); } ResultSetSourceInfo(ResultSet resultSet);  ResultSetSourceInfo(ResultSet resultSet, UUID sourceId); }
ResultSetSourceInfo extends AbstractSourceInfo { @Override public String toString() { return String.format("ResultSet with SourceId: %s", getSourceId()); } ResultSetSourceInfo(ResultSet resultSet);  ResultSetSourceInfo(ResultSet resultSet, UUID sourceId); ResultSet getResultSet(); @SuppressWarnings("WeakerAccess") void setResultSet(ResultSet resultSet); @Override String toString(); void validate(); }
ResultSetSourceInfo extends AbstractSourceInfo { @Override public String toString() { return String.format("ResultSet with SourceId: %s", getSourceId()); } ResultSetSourceInfo(ResultSet resultSet);  ResultSetSourceInfo(ResultSet resultSet, UUID sourceId); ResultSet getResultSet(); @SuppressWarnings("WeakerAccess") void setResultSet(ResultSet resultSet); @Override String toString(); void validate();  }