@Test (expected=ExecutionException.class) public void testGetValueOneValueWithoutName () { mSequence.setValue (VALUE1); assertEquals (VALUE1, mSequence.getValue ()); mSequence.getValue (); }
@Override public String getValue (String name) { checkName (name); if (mIter == null) { mIter = mList.iterator (); } if (mIter.hasNext ()) { return mIter.next (); } else { throw new ExecutionException ("all strings have been used"); } }
StringSequence extends BaseSequence { @Override public String getValue (String name) { checkName (name); if (mIter == null) { mIter = mList.iterator (); } if (mIter.hasNext ()) { return mIter.next (); } else { throw new ExecutionException ("all strings have been used"); } } }
StringSequence extends BaseSequence { @Override public String getValue (String name) { checkName (name); if (mIter == null) { mIter = mList.iterator (); } if (mIter.hasNext ()) { return mIter.next (); } else { throw new ExecutionException ("all strings have been used"); } } StringSequence(String name, Scope scope); }
StringSequence extends BaseSequence { @Override public String getValue (String name) { checkName (name); if (mIter == null) { mIter = mList.iterator (); } if (mIter.hasNext ()) { return mIter.next (); } else { throw new ExecutionException ("all strings have been used"); } } StringSequence(String name, Scope scope); @Override String getValue(String name); }
StringSequence extends BaseSequence { @Override public String getValue (String name) { checkName (name); if (mIter == null) { mIter = mList.iterator (); } if (mIter.hasNext ()) { return mIter.next (); } else { throw new ExecutionException ("all strings have been used"); } } StringSequence(String name, Scope scope); @Override String getValue(String name);  }