Lines Matching defs:createMock
50 * mockObject = AndroidMock.createMock(MyClass.class);
147 * {@literal createMock(MyObject.class, 42, "hello!")},
156 public static <T> T createMock(Class<T> toMock, Object... args) {
157 return createMock(null, toMock, args);
170 * {@literal createMock("NameMyMock", MyObject.class, 42, "hello!")},
183 public static <T> T createMock(String name, Class<T> toMock, Object... args) {
185 return EasyMock.createMock(name, toMock);
187 Object mockedInterface = EasyMock.createMock(name, getInterfaceFor(toMock));
2504 * objects) and turn them to a mock with default behavior. {@link #createMock(Class, Object...)}