1   /*
2    * Copyright (C) The DNA Group. All rights reserved.
3    *
4    * This software is published under the terms of the DNA
5    * Software License version 1.1, a copy of which has been included
6    * with this distribution in the LICENSE.txt file.
7    */
8   package org.codehaus.dna;
9   
10  import org.codehaus.dna.ReleaseUtil;
11  
12  /***
13   *
14   * @author Peter Donald
15   * @version $Revision: 1.2 $ $Date: 2004/05/01 09:51:48 $
16   */
17  class MockReleaseable
18      implements ReleaseUtil.Releaseable
19  {
20      private boolean m_released;
21  
22      public void release()
23      {
24          m_released = true;
25      }
26  
27      public boolean isReleased()
28      {
29          return m_released;
30      }
31  }