Uses of Interface
org.easymock.IExpectationSetters
-
Packages that use IExpectationSetters Package Description org.easymock org.easymock.internal org.easymock.mockito -
-
Uses of IExpectationSetters in org.easymock
Methods in org.easymock that return IExpectationSetters Modifier and Type Method Description IExpectationSetters<T>IExpectationSetters. andAnswer(IAnswer<? extends T> answer)Sets an object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception).IExpectationSetters<T>IExpectationSetters. andDelegateTo(java.lang.Object delegateTo)Sets an object implementing the same interface as the mock.IExpectationSetters<T>IExpectationSetters. andReturn(T value)Sets a return value that will be returned for the expected invocation.IExpectationSetters<T>IExpectationSetters. andThrow(java.lang.Throwable throwable)Sets a throwable that will be thrown for the expected invocation.IExpectationSetters<T>IExpectationSetters. andVoid()Records a call but returns nothing.IExpectationSetters<T>IExpectationSetters. anyTimes()Expect the last invocation any times.IExpectationSetters<T>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.private static <T> IExpectationSetters<T>EasyMock. getControlForLastCall()IExpectationSetters<T>IExpectationSetters. once()Expect the last invocation once.IExpectationSetters<T>IExpectationSetters. times(int count)Expect the last invocationcounttimes.IExpectationSetters<T>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 IExpectationSetters Modifier and Type Class Description classMocksControlMethods in org.easymock.internal that return IExpectationSetters Modifier and Type Method Description IExpectationSetters<java.lang.Object>MocksControl. andAnswer(IAnswer<?> answer)IExpectationSetters<java.lang.Object>MocksControl. andDelegateTo(java.lang.Object answer)IExpectationSetters<java.lang.Object>MocksControl. andReturn(java.lang.Object value)IExpectationSetters<java.lang.Object>MocksControl. andThrow(java.lang.Throwable throwable)IExpectationSetters<java.lang.Object>MocksControl. andVoid()IExpectationSetters<java.lang.Object>MocksControl. anyTimes()IExpectationSetters<java.lang.Object>MocksControl. atLeastOnce()IExpectationSetters<java.lang.Object>MocksControl. once()IExpectationSetters<java.lang.Object>MocksControl. times(int times)IExpectationSetters<java.lang.Object>MocksControl. times(int min, int max) -
Uses of IExpectationSetters in org.easymock.mockito
Fields in org.easymock.mockito declared as IExpectationSetters Modifier and Type Field Description private IExpectationSetters<T>OngoingStubbingBridge. expectationSettersConstructors in org.easymock.mockito with parameters of type IExpectationSetters Constructor Description OngoingStubbingBridge(IExpectationSetters<T> expectationSetters)
-