Package org.springframework.roo.classpath.details.annotations

Source Code of org.springframework.roo.classpath.details.annotations.CharAttributeValueTest

package org.springframework.roo.classpath.details.annotations;

import static org.junit.Assert.assertEquals;

import org.junit.Test;
import org.springframework.roo.model.JavaSymbolName;

/**
* Unit test of {@link CharAttributeValue}
*
* @author Andrew Swan
* @since 1.2.0
*/
public class CharAttributeValueTest {

    @Test
    public void testToString() {
        assertEquals("baz -> q", new CharAttributeValue(new JavaSymbolName(
                "baz"), 'q').toString());
    }
}
TOP

Related Classes of org.springframework.roo.classpath.details.annotations.CharAttributeValueTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.