Class PowerMockMatchersBinder

java.lang.Object
org.mockito.internal.invocation.MatchersBinder
org.powermock.api.mockito.internal.invocation.PowerMockMatchersBinder
All Implemented Interfaces:
Serializable

public class PowerMockMatchersBinder extends org.mockito.internal.invocation.MatchersBinder
This class is essentially a copy of MatchersBinder with the exception that the InvocationMatcher is replaced and its toString method is overwritten to avoid exceptions. For why these exceptions happen refer to ToStringGenerator in this package.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.mockito.internal.invocation.InvocationMatcher
    bindMatchers(org.mockito.internal.progress.ArgumentMatcherStorage argumentMatcherStorage, org.mockito.invocation.Invocation invocation)
     
    private void
    validateMatchers(org.mockito.invocation.Invocation invocation, List<org.mockito.internal.matchers.LocalizedMatcher> lastMatchers)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PowerMockMatchersBinder

      public PowerMockMatchersBinder()
  • Method Details

    • bindMatchers

      public org.mockito.internal.invocation.InvocationMatcher bindMatchers(org.mockito.internal.progress.ArgumentMatcherStorage argumentMatcherStorage, org.mockito.invocation.Invocation invocation)
      Overrides:
      bindMatchers in class org.mockito.internal.invocation.MatchersBinder
    • validateMatchers

      private void validateMatchers(org.mockito.invocation.Invocation invocation, List<org.mockito.internal.matchers.LocalizedMatcher> lastMatchers)