KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > config > schema > dynamic > NullConfigItemListenerTest


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.dynamic;
5
6 import com.tc.test.TCTestCase;
7
8 /**
9  * Unit test for {@link NullConfigItemListener}.
10  */

11 public class NullConfigItemListenerTest extends TCTestCase {
12
13   public void testAll() throws Exception JavaDoc {
14     NullConfigItemListener.getInstance().valueChanged(null, null);
15     NullConfigItemListener.getInstance().valueChanged("foo", null);
16     NullConfigItemListener.getInstance().valueChanged(null, "bar");
17     NullConfigItemListener.getInstance().valueChanged("foo", "bar");
18   }
19
20 }
21
Popular Tags