Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
JUNIT Liferay 7.0 - Database Access Service Builder
Hi ,
I would like to know how can I create a JUNIT for my modules. I have a module that was generated by service builder api and service in Liferay 7 microservices. I have a method call retrieveSchedulerDetails which just basically go to the DB and get schedule information. This method gets call from my LocalServiceUtil class. I would like to create a junit to test this method. Can someone share with me in how to accomplish this task?
Thanks,
Kevin
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™