super.setUp(); config = new FolderConfiguration(); lq = new LanguageQualifier();
super.tearDown(); config = null; lq = null;
assertEquals(true, lq.checkAndSet("en", config)); //$NON-NLS-1$ assertTrue(config.getLanguageQualifier() != null); assertEquals("en", config.getLanguageQualifier().toString()); //$NON-NLS-1$
assertEquals(false, lq.checkAndSet("", config)); //$NON-NLS-1$ assertEquals(false, lq.checkAndSet("EN", config)); //$NON-NLS-1$ assertEquals(false, lq.checkAndSet("abc", config)); //$NON-NLS-1$