KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > config > schema > listen > NullConfigurationChangeListenerTest


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.config.schema.listen;
5
6 import com.tc.config.schema.MockXmlObject;
7 import com.tc.test.TCTestCase;
8
9 /**
10  * Unit test for {@link NullConfigurationChangeListener}.
11  */

12 public class NullConfigurationChangeListenerTest extends TCTestCase {
13
14   public void testAll() throws Exception JavaDoc {
15     NullConfigurationChangeListener.getInstance().configurationChanged(null, null);
16     NullConfigurationChangeListener.getInstance().configurationChanged(null, new MockXmlObject());
17     NullConfigurationChangeListener.getInstance().configurationChanged(new MockXmlObject(), null);
18     NullConfigurationChangeListener.getInstance().configurationChanged(new MockXmlObject(), new MockXmlObject());
19   }
20
21 }
22
Popular Tags