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 -
Method Summary
Modifier and TypeMethodDescriptionorg.mockito.internal.invocation.InvocationMatcherbindMatchers(org.mockito.internal.progress.ArgumentMatcherStorage argumentMatcherStorage, org.mockito.invocation.Invocation invocation) private voidvalidateMatchers(org.mockito.invocation.Invocation invocation, List<org.mockito.internal.matchers.LocalizedMatcher> lastMatchers)
-
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:
bindMatchersin classorg.mockito.internal.invocation.MatchersBinder
-
validateMatchers
private void validateMatchers(org.mockito.invocation.Invocation invocation, List<org.mockito.internal.matchers.LocalizedMatcher> lastMatchers)
-