	@Test
	public void testNext() throws Exception {


		StringBuffer buffer = new StringBuffer();
		System.out.println();
		try (FileReader in = new FileReader(LexerTest.class.getResource("computer.conf").getFile())) {
			try (BufferedReader bin = new BufferedReader(in)) {
				String line;

				while ((line = bin.readLine()) != null) {
					buffer.append(line).append("\n");
				}
			}

		}

		System.out.println(buffer);
		Lexer l = new Lexer(buffer.toString());

		while (true) {
			Token token = l.next();
			System.out.println(token);
			if (token.getType() == Type.EOF) {
				break;
			}
		}

	}