1 /** 2 * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved. 3 */ 4 package com.tc.config.schema.dynamic; 5 6 /** 7 * A mock {@link IntConfigItem}, for use in tests. 8 */ 9 public class MockIntConfigItem extends MockConfigItem implements 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 } 20