33import static org .mockito .BDDMockito .given ;
44import static org .mockito .Mockito .mock ;
55import static org .mockito .Mockito .verify ;
6- import static org .mockito .Mockito .verifyZeroInteractions ;
6+ import static org .mockito .Mockito .verifyNoInteractions ;
77import static org .mockito .Mockito .when ;
88
99import org .eclipse .jface .resource .ImageDescriptor ;
@@ -40,7 +40,7 @@ public void should_not_decorate_files_which_language_is_handled_by_another_plugi
4040 decorator .decorate (fileToDecorate , decoration );
4141
4242 // then
43- verifyZeroInteractions (decoration );
43+ verifyNoInteractions (decoration );
4444 }
4545
4646 @ Test
@@ -54,7 +54,7 @@ public void should_not_decorate_test_files() throws Exception
5454 decorator .decorate (fileToDecorate , decoration );
5555
5656 // then
57- verifyZeroInteractions (decoration );
57+ verifyNoInteractions (decoration );
5858 }
5959
6060 @ Test
@@ -69,7 +69,7 @@ public void should_not_decorate_untested_files() throws Exception
6969 decorator .decorate (fileToDecorate , decoration );
7070
7171 // then
72- verifyZeroInteractions (decoration );
72+ verifyNoInteractions (decoration );
7373 }
7474
7575 @ Test
@@ -99,7 +99,7 @@ public void should_ignore_configuration_error() throws Exception
9999 decorator .decorate (fileToDecorate , decoration );
100100
101101 // then no exception is thrown, no window opens, and:
102- verifyZeroInteractions (decoration );
102+ verifyNoInteractions (decoration );
103103 }
104104
105105 @ Test
@@ -113,6 +113,6 @@ public void should_ignore_all_exceptions() throws Exception
113113 decorator .decorate (fileToDecorate , decoration );
114114
115115 // then no exception is thrown, no window opens, and:
116- verifyZeroInteractions (decoration );
116+ verifyNoInteractions (decoration );
117117 }
118118}
0 commit comments