001 package org.picocontainer;
002
003 import junit.framework.TestCase;
004
005 public class CharacteristicsTestCase extends TestCase {
006
007 public void testCharacteristicsAreImmutable() {
008 String b4 = Characteristics.CDI.toString();
009 try {
010 Characteristics.CDI.remove("injection");
011 fail();
012 } catch (UnsupportedOperationException e) {
013 // expected
014 }
015 }
016
017 }