Class PowerMockMatchersBinder

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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, java.util.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 Detail

      • PowerMockMatchersBinder

        public PowerMockMatchersBinder()
    • Method Detail

      • 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,
                                      java.util.List<org.mockito.internal.matchers.LocalizedMatcher> lastMatchers)