MultipleYieldCurveFinderDataBundle { public double[] getCurveNodePointsForCurve(final String name) { ArgumentChecker.notNull(name, "name"); final double[] result = _unknownCurveNodePoints.get(name); if (result == null) { throw new IllegalArgumentException("Data for name " + name + " not found"); } return result; } private  MultipleYieldCurveFinderDataBundle(final List<InstrumentDerivative> derivatives, final double[] marketValues, final YieldCurveBundle knownCurves,
      final LinkedHashMap<String, double[]> unknownCurveNodePoints, final LinkedHashMap<String, Interpolator1D> unknownCurveInterpolators, final boolean useFiniteDifferenceByDefault,
      final FXMatrix fxMatrix, final int totalNodes, final List<String> names);  MultipleYieldCurveFinderDataBundle(final List<InstrumentDerivative> derivatives, final double[] marketValues, final YieldCurveBundle knownCurves,
      final LinkedHashMap<String, double[]> unknownCurveNodePoints, final LinkedHashMap<String, Interpolator1D> unknownCurveInterpolators, final boolean useFiniteDifferenceByDefault,
      final FXMatrix fxMatrix); static MultipleYieldCurveFinderDataBundle withAllCurves(final List<InstrumentDerivative> derivatives, final double[] marketValues, final YieldCurveBundle knownCurves,
      final LinkedHashMap<String, double[]> unknownCurveNodePoints, final LinkedHashMap<String, Interpolator1D> unknownCurveInterpolators, final boolean useFiniteDifferenceByDefault,
      final FXMatrix fxMatrix); List<InstrumentDerivative> getDerivatives(); YieldCurveBundle getKnownCurves(); LinkedHashMap<String, double[]> getUnknownCurveNodePoints(); LinkedHashMap<String, Interpolator1D> getUnknownCurveInterpolators(); int getNumInstruments(); int getTotalNodes(); InstrumentDerivative getDerivative(final int i); double getMarketValue(final int i); boolean useFiniteDifferenceForNodeSensitivities(); FXMatrix getFXMatrix(); double[] getCurveNodePointsForCurve(final String name); int getNumberOfPointsForCurve(final String name); Interpolator1D getInterpolatorForCurve(final String name); List<String> getCurveNames(); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test(expectedExceptions = IllegalArgumentException.class) public void testNullName1() { DATA.getCurveNodePointsForCurve(null); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testWrongName1() { DATA.getCurveNodePointsForCurve("X"); }