Package com.mockobjects.naming.directory
Class MockNamingEnumeration
java.lang.Object
com.mockobjects.MockObject
com.mockobjects.naming.directory.MockNamingEnumeration
- All Implemented Interfaces:
Verifiable,Enumeration,NamingEnumeration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanhasMore()booleannext()voidsetupAddSearchResult(Object object) Methods inherited from class com.mockobjects.MockObject
notImplemented, notYetImplemented, verifyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Enumeration
asIterator
-
Constructor Details
-
MockNamingEnumeration
public MockNamingEnumeration()
-
-
Method Details
-
setupAddSearchResult
-
next
- Specified by:
nextin interfaceNamingEnumeration- Throws:
NamingException
-
hasMore
- Specified by:
hasMorein interfaceNamingEnumeration- Throws:
NamingException
-
close
- Specified by:
closein interfaceNamingEnumeration- Throws:
NamingException
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration
-
nextElement
- Specified by:
nextElementin interfaceEnumeration
-