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 TypeMethodDescriptionvoid
close()
boolean
hasMore()
boolean
next()
void
setupAddSearchResult
(Object object) Methods inherited from class com.mockobjects.MockObject
notImplemented, notYetImplemented, verify
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Enumeration
asIterator
-
Constructor Details
-
MockNamingEnumeration
public MockNamingEnumeration()
-
-
Method Details
-
setupAddSearchResult
-
next
- Specified by:
next
in interfaceNamingEnumeration
- Throws:
NamingException
-
hasMore
- Specified by:
hasMore
in interfaceNamingEnumeration
- Throws:
NamingException
-
close
- Specified by:
close
in interfaceNamingEnumeration
- Throws:
NamingException
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration
-