1 package org.kuali.student.common.messagebuilder.impl; 2 3 import org.junit.Assert; 4 import org.junit.Test; 5 import org.kuali.student.common.messagebuilder.impl.BooleanOperators; 6 7 public class BooleanOperatorsTest { 8 9 @Test 10 public void testBooleanOperators1() throws Exception { 11 BooleanOperators bo = new BooleanOperators(); 12 Assert.assertEquals("AND", bo.getAndOperator()); 13 Assert.assertEquals("OR", bo.getOrOperator()); 14 } 15 16 @Test 17 public void testBooleanOperators2() throws Exception { 18 BooleanOperators bo = new BooleanOperators("und", "oder"); 19 Assert.assertEquals("und", bo.getAndOperator()); 20 Assert.assertEquals("oder", bo.getOrOperator()); 21 } 22 }