1 | public class PrefixedConfigTest extends BaseSQuirreLJUnit4TestCase {↵ | | 1 | public class ConstraintViewXmlBeanTest extends BaseSQuirreLJUnit4TestCase {↵
|
|
2 | PrefixedConfig classUnderTest = new PrefixedConfig();↵ | | 2 | ConstraintViewXmlBean classUnderTest = new ConstraintViewXmlBean();↵
|
|
3 | @Test↵ | | 3 | @Test↵
|
4 | public void testGetPrefix() throws Exception↵ | | 4 | public void testGetConstraintGraphXmlBean() throws Exception↵
|
5 | {↵ | | 5 | {↵
|
6 | classUnderTest.setPrefix("aTestString");↵ | | 6 | classUnderTest.setConstraintGraphXmlBean(null);↵
|
7 | assertEquals("aTestString", classUnderTest.getPrefix());↵ | | 7 | assertNull("aTestString", classUnderTest.getConstraintGraphXmlBean());↵
|
8 | }↵ | | 8 | }↵
|
|
9 | @Test↵ | | 9 | @Test↵
|
10 | public void testGetCompletionConfig() throws Exception↵ | | 10 | public void testGetConstraintDataXmlBean() throws Exception↵
|
11 | {↵ | | 11 | {↵
|
12 | classUnderTest.setCompletionConfig(10);↵ | | 12 | classUnderTest.setCo↵
|
13 | assertEquals(10↵ | | 13 | nstraintDataXmlBean(null);↵
|
14 | , classUnderTest.getCompletionConfig()) | | 14 | assertNull("aTestString", classUnderTest.getConstraintDataXmlBean())
|