public void testBagPlotToStringFail2()
{
final List<List<Double>> data = new LinkedList<List<Double>>();
data.add(Arrays.asList(new Double[]{4.,5.,5.}));
data.add(Arrays.asList(new Double[]{4.,5.,5.}));
checkForCorrectException(new whatToRun() { public @Override void run() {
DrawGraphs.bagPlotToString(data, Arrays.asList(new Double[]{6.7}),null);
}},IllegalArgumentException.class,"mismatch");
}