01: /* Copyright 2005 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.channels.support;
07:
08: import junit.framework.TestCase;
09:
10: /**
11: * JUnit testcase for TitledChannelRuntimeProperties.
12: */
13: public class TitledChannelRuntimePropertiesTest extends TestCase {
14:
15: /**
16: * Test storing and retrieving a title.
17: */
18: public void testGetChannelTitle() {
19:
20: TitledChannelRuntimeProperties titledProperties = new TitledChannelRuntimeProperties(
21: "dynamic_title");
22:
23: assertEquals("dynamic_title", titledProperties
24: .getChannelTitle());
25:
26: }
27:
28: }
|