com.atlassian.bamboo.mockito
Class MockitoUtils
java.lang.Object
com.atlassian.bamboo.mockito.MockitoUtils
public final class MockitoUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hashCodeComparator
public static <T extends Comparable<T>> Comparator<T> hashCodeComparator()
- Creates a comparator that compares identity hashcodes of the supplied objects.
addComparator
public static <T extends Comparable<T>> void addComparator(Comparable<T> mock,
Comparator<T> comparator)
- Add the supplied comparator to the mocked object.
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.