Re: Mockito issues with private SolrTestCaseJ4.beforeClass

2016-05-06 Thread Georg Sorst
Anyway, this is now SOLR-9081. Best, Georg Georg Sorst schrieb am So., 24. Apr. 2016 um 17:34 Uhr: > Hi list, > > I just ran into some issues with Mockito and SolrTestCaseJ4. It looks like > this: > > * Mockito requires all @BeforeClass methods in the class hierarchy to be > "public static void

Mockito issues with private SolrTestCaseJ4.beforeClass

2016-04-24 Thread Georg Sorst
Hi list, I just ran into some issues with Mockito and SolrTestCaseJ4. It looks like this: * Mockito requires all @BeforeClass methods in the class hierarchy to be "public static void" * SolrTestCaseJ4.beforeClass (which is @BeforeClass) is "private static void" * So I cannot use Mockito as a test