src/test/java/org/thegalactic/context/constraint/categorical/CategoricalAttributeTest.java
@Test
    public void testToString() {
        CategoricalAttribute attribute = CategoricalModel.create().addAttribute();
        attribute.addValue("Test");
        attribute.addValue("Test with spaces");
        attribute.addValue("Test\"quotes");
        assertEquals("[Test, \"Test with spaces\", \"Test\\\"quotes\"]", attribute.toString());
    }
/**
     * Test of toString method, of class CategoricalAttribute.
     */
Test of toString method, of class CategoricalAttribute.
Test of toString method of class CategoricalAttribute .
@Test
    public void testToString() {
        CategoricalAttribute attribute = CategoricalModel.create().addAttribute();
        attribute.addValue("Test");
        attribute.addValue("Test with spaces");
        attribute.addValue("Test\"quotes");
        assertEquals("[Test, \"Test with spaces\", \"Test\\\"quotes\"]", attribute.toString());
    }
@ Test public void testToString ( ) { CategoricalAttribute attribute = CategoricalModel . create ( ) . addAttribute ( ) ; attribute . addValue ( "Test" ) ; attribute . addValue ( "Test with spaces" ) ; attribute . addValue ( "Test\"quotes" ) ; assertEquals ( "[Test, \"Test with spaces\", \"Test\\\"quotes\"]" , attribute . toString ( ) ) ; }
Test of toString method, of class CategoricalAttribute.
Test of toString method of class CategoricalAttribute .