|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BooleanMessageImplTest | Line # 9 | 4 | 0% | 1 | 0 | 100% |
1.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
(1) | |||
Result | |||
1.0
|
org.kuali.student.common.messagebuilder.booleanmessage.ast.BooleanMessageImplTest.testBooleanMessage org.kuali.student.common.messagebuilder.booleanmessage.ast.BooleanMessageImplTest.testBooleanMessage | 1 PASS | |
1 | package org.kuali.student.common.messagebuilder.booleanmessage.ast; | |
2 | ||
3 | import junit.framework.Assert; | |
4 | ||
5 | import org.junit.Test; | |
6 | import org.kuali.student.common.messagebuilder.booleanmessage.BooleanMessage; | |
7 | import org.kuali.student.common.messagebuilder.booleanmessage.ast.BooleanMessageImpl; | |
8 | ||
9 | public class BooleanMessageImplTest { | |
10 | ||
11 | 1 | @Test |
12 | public void testBooleanMessage() throws Exception { | |
13 | 1 | BooleanMessage bm = new BooleanMessageImpl("123456", Boolean.FALSE, "A is true"); |
14 | ||
15 | 1 | Assert.assertEquals("123456", bm.getMessageId()); |
16 | 1 | Assert.assertFalse(bm.isSuccesful()); |
17 | 1 | Assert.assertEquals("A is true", bm.getMessage()); |
18 | } | |
19 | } |
|