Examples of LabelImpl


Examples of org.pirkaengine.form.annotation.LabelImpl

        assertThat(target.getFieldType(), is(sameInstance(String.class)));
    }

    @Test
    public void apply_Label() throws Exception {
        target.apply("name", formMessage, new LabelImpl("TextName"));
        assertThat(target.name, is("name"));
        assertThat(target.label, is("TextName"));
        assertThat(target.isRequired(), is(false));
        assertThat(target.validators.size(), is(0));
    }
View Full Code Here
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.