org.mockito.internal.matchers.CompareEqual Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of securemock Show documentation
Show all versions of securemock Show documentation
Libraries for Elasticsearch
The newest version!
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.matchers;
import java.io.Serializable;
public class CompareEqual> extends CompareTo implements Serializable {
public CompareEqual(T value) {
super(value);
}
@Override
protected String getName() {
return "cmpEq";
}
@Override
protected boolean matchResult(int result) {
return result == 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy