<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>JUNIT Liferay 7.0 - Database Access Service Builder</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111209340" />
  <subtitle>JUNIT Liferay 7.0 - Database Access Service Builder</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111209340</id>
  <updated>2026-04-06T02:15:46Z</updated>
  <dc:date>2026-04-06T02:15:46Z</dc:date>
  <entry>
    <title>JUNIT Liferay 7.0 - Database Access Service Builder</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111209339" />
    <author>
      <name>Kevin Matthews</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111209339</id>
    <updated>2018-10-15T15:17:33Z</updated>
    <published>2018-10-15T15:17:33Z</published>
    <summary type="html">&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;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?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Kevin&lt;/p&gt;</summary>
    <dc:creator>Kevin Matthews</dc:creator>
    <dc:date>2018-10-15T15:17:33Z</dc:date>
  </entry>
</feed>
