Clover coverage report - EasyMock 2.2
Coverage timestamp: Mo Apr 17 2006 21:21:22 CEST
file stats: LOC: 40   Methods: 0
NCLOC: 8   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
IMocksControl.java - - - -
coverage
 1    /*
 2    * Copyright (c) 2001-2006 OFFIS, Tammo Freese.
 3    * This program is made available under the terms of the MIT License.
 4    */
 5    package org.easymock;
 6   
 7    /**
 8    * Controls all the mock objects created by it.
 9    * For details, see the EasyMock documentation.
 10    */
 11    public interface IMocksControl extends IExpectationSetters {
 12    /**
 13    * Creates a mock object that implements the given interface.
 14    * @param <T> the interface that the mock object should implement.
 15    * @param toMock the class of the interface that the mock object should implement.
 16    * @return the mock object.
 17    */
 18    <T> T createMock(Class<T> toMock);
 19   
 20    /**
 21    * Removes all expectations for the mock objects of this control.
 22    */
 23    void reset();
 24   
 25    /**
 26    * Switches the control from record mode to replay mode.
 27    */
 28    void replay();
 29   
 30    /**
 31    * Verifies that all expectations were met.
 32    */
 33    void verify();
 34   
 35    /**
 36    * Switches order checking on and off.
 37    * @param state <code>true</code> switches order checking on, <code>false</code> switches it off.
 38    */
 39    void checkOrder(boolean state);
 40    }