01: /*
02: Copyright 2004-2007 Paul R. Holser, Jr. All rights reserved.
03: Licensed under the Academic Free License version 3.0
04: */
05:
06: package joptsimple;
07:
08: /**
09: * @author <a href="mailto:pholser@alumni.rice.edu">Paul Holser</a>
10: * @version $Id: RequiredArgumentOptionSpecEqualsHashCodeTest.java,v 1.4 2007/04/10 20:06:26 pholser Exp $
11: */
12: public class RequiredArgumentOptionSpecEqualsHashCodeTest extends
13: AbstractOptionSpecEqualsHashCodeFixture {
14:
15: public RequiredArgumentOptionSpecEqualsHashCodeTest(String name) {
16: super (name);
17: }
18:
19: protected OptionSpec createEqualOptionSpecInstance() {
20: return new RequiredArgumentOptionSpec("a");
21: }
22:
23: protected OptionSpec createNotEqualOptionSpecInstance() {
24: return new RequiredArgumentOptionSpec("b");
25: }
26: }
|