subs.generateKey(substitutions, "key."); assertEquals(subs.getKey(), "1");
subs.generateKey(substitutions); assertEquals(subs.getKey(), "key.1");
	public void testGeneratedKey() {		NLSSubstitution[] substitutions = {				new NLSSubstitution(NLSSubstitution.EXTERNALIZED, "key.0", "v1", null, null),				new NLSSubstitution(NLSSubstitution.EXTERNALIZED, "key.2", "v2", null, null)				};				NLSSubstitution subs = new NLSSubstitution(NLSSubstitution.IGNORED, "v1", null);		subs.setState(NLSSubstitution.EXTERNALIZED);		subs.generateKey(substitutions, "key.");		assertEquals(subs.getKey(), "1");	}