KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mockobjects > Verifiable


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

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

14     public abstract void verify();
15 }
16
Popular Tags