}
@Test
public void testCreateJS() {
RegexTextVariable regex = new RegexTextVariable();
regex.setAllowedsigns("/^.*$/");
assertEquals("Felaktig scriptsträng genererades", "inputAttributes[''] = new Input('', 'regex', false, false, '', '', null, null, null, null, '/^.*$/');", regex.createJS(parameter));
}