KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jmock > core > Verifiable


1 /* Copyright (c) 2000-2004 jMock.org
2  */

3 package org.jmock.core;
4
5 /**
6  * A <em>Verifiable</em> is an object that can confirm at the end of a unit test that
7  * the correct behvaiour has occurred.
8  *
9  * @see org.jmock.util.Verifier Verifier to check all the Verifiables in an object.
10  */

11 public interface Verifiable
12 {
13
14     /**
15      * Throw an AssertionFailedException if any expectations have not been met.
16      */

17     public abstract void verify();
18 }
19
Popular Tags