Home How can I wirite JUnit test to ensure Arraylist<POJO> records are correct?
Reply: 0

How can I wirite JUnit test to ensure Arraylist<POJO> records are correct?

user220
1#
user220 Published in May 24, 2018, 11:19 pm

I have a method which prepare a list(ArrayList) based on the result of a query.But how can I write test cases to ensure the number and type of records in the list are correct?

Thanks in advance.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.325274 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO