Searched refs:IExpectationSetters (Results 1 – 4 of 4) sorted by relevance
25 public interface IExpectationSetters<T> { interface34 IExpectationSetters<T> andReturn(T value); in andReturn()43 IExpectationSetters<T> andThrow(Throwable throwable); in andThrow()53 IExpectationSetters<T> andAnswer(IAnswer<? extends T> answer); in andAnswer()65 IExpectationSetters<T> andDelegateTo(Object delegateTo); in andDelegateTo()117 IExpectationSetters<T> times(int count); in times()129 IExpectationSetters<T> times(int min, int max); in times()136 IExpectationSetters<T> once(); in once()143 IExpectationSetters<T> atLeastOnce(); in atLeastOnce()150 IExpectationSetters<T> anyTimes(); in anyTimes()
262 IExpectationSetters<Object> setter = expectLastCall( in setReturnValue()352 …IExpectationSetters<Object> setter = expectLastCall("method call on the mock needed before setting… in setVoidCallable()383 IExpectationSetters<Object> setter = expectLastCall( in setThrowable()489 IExpectationSetters<Object> expectAndReturn = EasyMock.expectLastCall() in expectAndReturn()564 IExpectationSetters<Object> setter = EasyMock.expect(ignored).andThrow( in expectAndThrow()629 private IExpectationSetters<Object> expectLastCall(String failureMessage) { in expectLastCall()637 private void callWithConvertedRange(IExpectationSetters<Object> setter, Range range) { in callWithConvertedRange()
182 public static <T> IExpectationSetters<T> expect(T value) { in expect()194 public static <T> IExpectationSetters<T> expectLastCall() { in expectLastCall()199 private static <T> IExpectationSetters<T> getControlForLastCall() { in getControlForLastCall()204 return (IExpectationSetters<T>) lastControl; in getControlForLastCall()
21 import org.easymock.IExpectationSetters;24 public class MocksControl implements IMocksControl, IExpectationSetters<Object>, Serializable {141 public IExpectationSetters<Object> andReturn(Object value) { in andReturn()150 public IExpectationSetters<Object> andThrow(Throwable throwable) { in andThrow()159 public IExpectationSetters<Object> andAnswer(IAnswer<? extends Object> answer) { in andAnswer()168 public IExpectationSetters<Object> andDelegateTo(Object answer) { in andDelegateTo()218 public IExpectationSetters<Object> times(int times) { in times()227 public IExpectationSetters<Object> times(int min, int max) { in times()236 public IExpectationSetters<Object> once() { in once()245 public IExpectationSetters<Object> atLeastOnce() { in atLeastOnce()[all …]