01: /*****************************************************************************
02: * Copyright (C) NanoContainer Organization. All rights reserved. *
03: * ------------------------------------------------------------------------- *
04: * The software in this package is published under the terms of the BSD *
05: * style license a copy of which has been included with this distribution in *
06: * the LICENSE.txt file. *
07: * *
08: * Original code by Mike Hogan *
09: *****************************************************************************/package org.nanocontainer.testmodel;
10:
11: public interface MockComponent {
12: int getPort();
13:
14: void setPort(int port);
15:
16: String getServer();
17:
18: void setServer(String server);
19:
20: void addRegister(Integer i);
21:
22: int getNumRegisters();
23:
24: boolean hasRegister(int i);
25: }
|