|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
Verifiable.java | - | - | - | - |
|
1 |
/* Copyright (c) 2000-2003, jMock.org. See bundled LICENSE.txt */
|
|
2 |
package org.jmock.expectation;
|
|
3 |
|
|
4 |
/**
|
|
5 |
* A <em>Verifiable</em> is an object that can confirm at the end of a unit test that
|
|
6 |
* the correct behvaiour has occurred.
|
|
7 |
*
|
|
8 |
* @see org.jmock.expectation.Verifier Verifier to check all the Verifiables in an object.
|
|
9 |
*/
|
|
10 |
public interface Verifiable { |
|
11 |
|
|
12 |
/**
|
|
13 |
* Throw an AssertionFailedException if any expectations have not been met.
|
|
14 |
*/
|
|
15 |
public abstract void verify(); |
|
16 |
} |
|
17 |
|
|