Java Code Examples for org.mockito.AdditionalMatchers#not()

The following examples show how to use org.mockito.AdditionalMatchers#not() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#not(T)}.
 */
default <T> T not(T first) {
    return AdditionalMatchers.not(first);
}
 
Example 2
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#not(short)}.
 */
default short not(short first) {
    return AdditionalMatchers.not(first);
}
 
Example 3
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#not(int)}.
 */
default int not(int first) {
    return AdditionalMatchers.not(first);
}
 
Example 4
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#not(long)}.
 */
default long not(long first) {
    return AdditionalMatchers.not(first);
}
 
Example 5
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#not(float)}.
 */
default float not(float first) {
    return AdditionalMatchers.not(first);
}
 
Example 6
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#not(double)}.
 */
default double not(double first) {
    return AdditionalMatchers.not(first);
}
 
Example 7
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#not(char)}.
 */
default char not(char first) {
    return AdditionalMatchers.not(first);
}
 
Example 8
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#not(boolean)}.
 */
default boolean not(boolean first) {
    return AdditionalMatchers.not(first);
}
 
Example 9
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#not(byte)}.
 */
default byte not(byte first) {
    return AdditionalMatchers.not(first);
}