/** * Resets all registered mock objects (more exactly: the controls of the * mock objects) and turn them to a mock with strict behavior. For details, * see the EasyMock documentation. */ public void resetAllToStrict() { for (IMocksControl c : controls) { c.resetToStrict(); } }
/** * Resets all registered mock objects (more exactly: the controls of the * mock objects) and turn them to a mock with strict behavior. For details, * see the EasyMock documentation. */ public void resetAllToStrict() { for (IMocksControl c : controls) { c.resetToStrict(); } }
@Override public void resetToStrict() { delegate.resetToStrict(); }
public MockFacesEnvironment resetToStrict() { mocksControl.resetToStrict(); recordEnvironment(); return this; }
/** * Resets the given mock objects (more exactly: the controls of the mock * objects) and turn them to a mock with strict behavior. For details, see * the EasyMock documentation. * * @param mocks * the mock objects */ public static void resetToStrict(Object... mocks) { for (Object mock : mocks) { getControl(mock).resetToStrict(); } }