@Test
	public void testParseLine() {

		String line = "result, criteria1, criteria2, criteria3";

		Scenario expected = new Scenario(new Value("result"), new Value[] { new Value("criteria1"),
				new Value("criteria2"), new Value("criteria3") });

		DataFile dataFile = new DataFile(null, null);
		dataFile.setType(DataFileType.CSV);

		Scenario actual = dataFile.parseLine(line);

		assertThat(actual, equalTo(expected));

		line = "123 \t true \t 123 \t 123.456\t 2004-12-13T21:39:45.618-08:00";

		expected = new Scenario(new Value("123"), new Value[] { new Value("true"), new Value("123"),
				new Value("123.456"), new Value("2004-12-13T21:39:45.618-08:00") });

		dataFile = new DataFile(null, null);
		dataFile.setType(DataFileType.TSV);

		actual = dataFile.parseLine(line);

		assertThat(actual, equalTo(expected));

		line = "-0.999	|	some text	|	{\"key\": \"value\"}";

		expected = new Scenario(new Value("-0.999"), new Value[] { new Value("some text"),
				new Value("{\"key\": \"value\"}") });

		dataFile = new DataFile(null, null);
		dataFile.setType(DataFileType.BSV);

		actual = dataFile.parseLine(line);

		assertThat(actual, equalTo(expected));

	}