@Test public void testCreateUIInputManyWithShortName() throws Exception { UIInputMany<String> input = factory.createInputMany("foo", 'f', String.class); Assert.assertNotNull(input); Assert.assertTrue(input.hasFacet(HintsFacet.class)); Assert.assertEquals('f', input.getShortName()); }
@Test public void testCreateUIInputMany() throws Exception { UIInputMany<String> input = factory.createInputMany("foo", String.class); Assert.assertNotNull(input); Assert.assertTrue(input.hasFacet(HintsFacet.class)); Assert.assertEquals(InputComponents.DEFAULT_SHORT_NAME, input.getShortName()); }