org.specs.specification.FailureExceptionWithResult: The method was not called as expected: Argument(s) are different! Wanted: mongoDiscontinuousTimeline.add( );

Google Groups | Barry Kaplan | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Custom matcher as mockito argument matcher: how to get correct message

    Google Groups | 7 years ago | Barry Kaplan
    org.specs.specification.FailureExceptionWithResult: The method was not called as expected: Argument(s) are different! Wanted: mongoDiscontinuousTimeline.add( );

    Root Cause Analysis

    1. org.specs.specification.FailureExceptionWithResult

      The method was not called as expected: Argument(s) are different! Wanted: mongoDiscontinuousTimeline.add( );

      at systeminsights.module.oee.CycleTimelineBuilderSpec$$anonfun$adds_scheduled_downtime_interval$3.apply()
    2. systeminsights.module.oee
      CycleTimelineBuilderSpec$$anonfun$adds_scheduled_downtime_interval$3.apply
      1. systeminsights.module.oee.CycleTimelineBuilderSpec$$anonfun$adds_scheduled_downtime_interval$3.apply(CycleTimelineBuilderSpec.scala:58)
      1 frame