1/*
2 * Copyright (c) 2007 Mockito contributors
3 * This program is made available under the terms of the MIT License.
4 */
5
6package org.mockito.internal.matchers;
7
8import java.io.Serializable;
9
10public class GreaterOrEqual<T extends Comparable<T>> extends CompareTo<T> implements Serializable {
11
12    public GreaterOrEqual(T value) {
13        super(value);
14    }
15
16    @Override
17    protected String getName() {
18        return "geq";
19    }
20
21    @Override
22    protected boolean matchResult(int result) {
23        return result >= 0;
24    }
25}
26