	@Test
	public void canReadTenDoubles() {

		int numDoubles = 10;
		TestProducer producer = new TestProducer(numDoubles);
		producer.start();
		assertEquals(numDoubles, producer.getDataLength());
		double[] data = producer.getAllData();
		assertEquals(numDoubles, data.length);
	}