<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>InfoQ - Mockito</title>
    <link>https://www.infoq.com</link>
    <description>InfoQ Mockito feed</description>
    <item>
      <title>Mockito 5 Supports Mocking Constructors, Static Methods and Final Classes out of the Box</title>
      <link>https://www.infoq.com/news/2023/01/mockito-5/?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=Mockito</link>
      <description>&lt;img src="https://res.infoq.com/news/2023/01/mockito-5/en/headerimage/generatedHeaderImage-1674844366175.jpg"/&gt;&lt;p&gt;Mockito has released version 5, switching the default mockmaker to mockito-inline in order to better support future versions of the JDK and allows mocking of constructors, static methods and final classes out of the box. The baseline increased from Java 8 to Java 11, as supporting both versions became costly and managing changes in the JDK such as with the SecurityManager proved difficult.&lt;/p&gt; &lt;i&gt;By Johan Janssen&lt;/i&gt;</description>
      <category>Mockito</category>
      <category>Java</category>
      <category>Development</category>
      <category>news</category>
      <pubDate>Mon, 30 Jan 2023 06:00:00 GMT</pubDate>
      <guid>https://www.infoq.com/news/2023/01/mockito-5/?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=Mockito</guid>
      <dc:creator>Johan Janssen</dc:creator>
      <dc:date>2023-01-30T06:00:00Z</dc:date>
      <dc:identifier>/news/2023/01/mockito-5/en</dc:identifier>
    </item>
  </channel>
</rss>
