Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/mockobjects/Verifiable.java


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  }