exceptionfactory commented on pull request #5318: URL: https://github.com/apache/nifi/pull/5318#issuecomment-916114656
> Hi exceptionfactory, I tried to add a unit text. But as you can see, rs.getObject() and rs.getTimestamp() is standard methods in > java.sql.ResultSet. I can't figure out how to do this unit test,Do you have any good suggestions? The `ResultSetRecordSetTest` class has an existing `testCreateRecord()` method that uses a mocked `ResultSet`. You could either modify that method, or create a new test method that uses a sample `RecordSchema` with a timestamp column. It might be clearer to create a new test method since the existing method is already large. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
