Uses of Interface
org.easymock.IExpectationSetters
Packages that use IExpectationSetters
-
Uses of IExpectationSetters in org.easymock
Methods in org.easymock that return IExpectationSettersModifier and TypeMethodDescriptionSets an object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception).IExpectationSetters.andDelegateTo(Object delegateTo) Sets an object implementing the same interface as the mock.Sets a return value that will be returned for the expected invocation.Sets a throwable that will be thrown for the expected invocation.IExpectationSetters.andVoid()Records a call but returns nothing.IExpectationSetters.anyTimes()Expect the last invocation any times.IExpectationSetters.atLeastOnce()Expect the last invocation at least once.static <T> IExpectationSetters<T> EasyMock.expect(T value) Returns the expectation setter for the last expected invocation in the current thread.static <T> IExpectationSetters<T> EasyMock.expectLastCall()Returns the expectation setter for the last expected invocation in the current thread.IExpectationSetters.once()Expect the last invocation once.IExpectationSetters.times(int count) Expect the last invocationcounttimes.IExpectationSetters.times(int min, int max) Expect the last invocation betweenminandmaxtimes. -
Uses of IExpectationSetters in org.easymock.internal
Classes in org.easymock.internal that implement IExpectationSettersMethods in org.easymock.internal that return IExpectationSettersModifier and TypeMethodDescriptionMocksControl.andDelegateTo(Object answer) MocksControl.andVoid()MocksControl.anyTimes()MocksControl.atLeastOnce()MocksControl.once()MocksControl.times(int times) MocksControl.times(int min, int max)