1 4 package com.tc.config.schema; 5 6 import com.tc.test.EqualityChecker; 7 import com.tc.test.TCTestCase; 8 9 12 public class ConfigurationModelTest extends TCTestCase { 13 14 public void testAll() throws Exception { 15 Object [] arr1 = new Object [] { ConfigurationModel.DEVELOPMENT, ConfigurationModel.PRODUCTION }; 16 Object [] arr2 = new Object [] { ConfigurationModel.DEVELOPMENT, ConfigurationModel.PRODUCTION }; 17 18 EqualityChecker.checkArraysForEquality(arr1, arr2); 19 20 assertFalse(ConfigurationModel.DEVELOPMENT.equals(null)); 21 assertFalse(ConfigurationModel.DEVELOPMENT.equals("development")); 22 assertFalse(ConfigurationModel.DEVELOPMENT.equals("foo")); 23 24 ConfigurationModel.DEVELOPMENT.toString(); 25 ConfigurationModel.PRODUCTION.toString(); 26 } 27 28 } 29 | Popular Tags |