Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ClassProxyFactory$MockMethodInterceptor.intercept() has thrown an AssertionError
    EasyMock
    13
    4
    0
  2. ObjectMethodsFilter.invoke() has thrown an AssertionError
    EasyMock
    23
    16
    2

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.AssertionError: Unexpected method call getName(): setName("abc"): expected: 1, actual: 0
1 matching frame hidden
    at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:73)
    at org.easymock.internal.ClassProxyFactory$MockMethodInterceptor.intercept(ClassProxyFactory.java:92)

External results for this pattern (10)

  1. Sundarvia Stack Overflow3 months ago
    Unexpected method call MimeMessage.setRecipients(To, [to.email@userdomain.com]):
    Show stack trace
  2. Tedvia Stack Overflow4 months ago
    Unexpected method call Worker.getConnectorType("sourceB"): Worker.getPlugins(): expected: 3, actual: 0
    Show stack trace
  3. GoogleCodeExportervia GitHub4 months ago
    Unexpected method call write("out"): write("out"): expected: 1, actual: 0
    Show stack trace
  4. johanhalebyvia GitHub4 months ago
    Unexpected method call write("out"): write("out"): expected: 1, actual: 0
    Show stack trace
  5. GoogleCodeExportervia GitHub4 months ago
    Unexpected method call write("out"): write("out"): expected: 1, actual: 0
    Show stack trace
  6. Unexpected method call usrAuthenticationViaFormAction.submit(null, null, null): usrAuthenticationViaFormAction.setCredentialsToFlowScope(): expected: 1, actual: 0
    Show stack trace
  7. Exception thrown executing [AnnotatedAction@41e68d87 targetAction = [EvaluateAction@49ff7d8c expression = setErrorMessages.getErrorMessagesMap(flowRequestContext), resultExpression = flowScope.errorMessageMap], attributes = map[[empty]]] in state 'set_error_in_scope' of flow 'shclogin-flow' -- action execution attributes were 'map[[empty]]'
    Show stack trace
  8. Exception thrown executing [AnnotatedAction@7c974942 targetAction = [EvaluateAction@1eea9d2d expression = setErrorMessages.getErrorMessagesMap(flowRequestContext), resultExpression = flowScope.errorMessageMap], attributes = map[[empty]]] in state 'set_error_in_scope' of flow 'shclogin-flow' -- action execution attributes were 'map[[empty]]'
    Show stack trace
  9. Yakamvia Stack Overflow4 months ago
    Unexpected method call TradeIvTypeValidator.isValidIvType("Test"):
    Show stack trace
  10. Unknown authorvia grokbase.com4 months ago
    Unexpected method call send("test-topic1", 0, ByteBufferMessageSet(MessageAndOffset(message(magic = 1, attributes = 0, crc = 2326977762, payload = java.nio.HeapByteBuffer[pos=0 lim=5 cap=5]),15), )): close(): expected: 1, actual: 0
    Show stack trace