com.mockobjects.net
Class MockSocketFactory
java.lang.Object
com.mockobjects.MockObject
com.mockobjects.net.MockSocketFactory
- All Implemented Interfaces:
- SocketFactory, Verifiable
- public class MockSocketFactory
- extends MockObject
- implements SocketFactory
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockSocketFactory
public MockSocketFactory()
setupCreateSocket
public void setupCreateSocket(Socket aSocket)
setExpectedHost
public void setExpectedHost(java.lang.String aHost)
setExpectedPort
public void setExpectedPort(java.lang.String aPort)
createSocket
public Socket createSocket(java.lang.String aHost,
int aPort)
- Specified by:
createSocket
in interface SocketFactory
Copyright © 2002 Mock Objects. All Rights Reserved.