dhamini-poornachandra / mockito

Automatically exported from code.google.com/p/mockito
0 stars 0 forks source link

Problem with Never() method using mackito 1.8.5 #342

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
// Expected
verify(Factory).getparty1("1234");
verify(Factory, never()).getparty2("6840");  --> Getting Error for this line
verify(factory, never()).getparty3("6401");

Getting Below Error:
java.lang.NoSuchMethodError: 
org.mockito.Mockito.never()Lorg/mockito/verification/VerificationMode;

Using Eclipse with JUnit4.5 

Original issue reported on code.google.com by vishuyad...@gmail.com on 9 May 2012 at 1:54

GoogleCodeExporter commented 8 years ago
check your classpath :)

Original comment by brice.du...@gmail.com on 20 Jul 2012 at 10:46