src/test/java/org/thegalactic/context/constraint/categorical/CategoricalValueTest.java
@Test
    public void testGetAttribute() {
        CategoricalAttribute attribute = CategoricalModel.create().addAttribute();
        CategoricalValue value = CategoricalValue.create("Test", attribute);
        assertEquals(attribute, value.getAttribute());
    }
/**
     * Test of getData method, of class CategoricalValue.
     */
Test of getData method, of class CategoricalValue.
Test of getData method of class CategoricalValue .
@Test
    public void testGetAttribute() {
        CategoricalAttribute attribute = CategoricalModel.create().addAttribute();
        CategoricalValue value = CategoricalValue.create("Test", attribute);
        assertEquals(attribute, value.getAttribute());
    }
@ Test public void testGetAttribute ( ) { CategoricalAttribute attribute = CategoricalModel . create ( ) . addAttribute ( ) ; CategoricalValue value = CategoricalValue . create ( "Test" , attribute ) ; assertEquals ( attribute , value . getAttribute ( ) ) ; }
Test of getData method, of class CategoricalValue.
Test of getData method of class CategoricalValue .