File tree 1 file changed +3
-1
lines changed
subprojects/extTest/src/test/java/org/mockitousage/plugins/switcher
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4
4
*/
5
5
package org .mockitousage .plugins .switcher ;
6
6
7
+ import java .util .ArrayList ;
7
8
import org .junit .Test ;
8
9
import org .mockitousage .plugins .donotmockenforcer .MyDoNotMockEnforcer ;
9
10
import org .mockitousage .plugins .instantiator .MyInstantiatorProvider2 ;
13
14
14
15
import java .util .List ;
15
16
17
+ import static org .assertj .core .api .Assertions .assertThat ;
16
18
import static java .util .Arrays .asList ;
17
19
import static org .junit .Assert .assertEquals ;
18
20
import static org .junit .Assert .fail ;
@@ -24,7 +26,7 @@ public class PluginSwitchTest {
24
26
@ Test
25
27
public void plugin_switcher_is_used () {
26
28
mock (List .class );
27
- assertEquals (MyPluginSwitch .invokedFor , asList (MyMockMaker .class .getName (),
29
+ assertThat (MyPluginSwitch .invokedFor ). hasSameElementsAs ( asList (MyMockMaker .class .getName (),
28
30
MyStackTraceCleanerProvider .class .getName (),
29
31
MyMockitoLogger .class .getName (),
30
32
MyDoNotMockEnforcer .class .getName (),
You can’t perform that action at this time.
0 commit comments