01: /**
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */package com.tc.config.schema.dynamic;
04:
05: /**
06: * A mock {@link IntConfigItem}, for use in tests.
07: */
08: public class MockIntConfigItem extends MockConfigItem implements
09: IntConfigItem {
10:
11: public MockIntConfigItem(int value) {
12: super (new Integer(value));
13: }
14:
15: public int getInt() {
16: return ((Integer) getObject()).intValue();
17: }
18:
19: }
|