public static Document createTest(DocumentType docType) {
		Document document = new Document(docType);
		boolean needsAnswer = docType.equals(DocumentType.Test);
		while(true){
			switch(showMainPrompt()){
			case 1:
				document.add(new TrueFalse(needsAnswer));
				break;
			case 2:
				document.add(new MultipleChoice(needsAnswer));
				break;
			case 3:
				document.add(new ShortAnswer(needsAnswer));
				break;
			case 4:
				document.add(new Essay(needsAnswer));
				break;
			case 5:
				document.add(new Ranking(needsAnswer));
				break;
			case 6:
				document.add(new Matching(needsAnswer));
				break;
			case 7:
				return document;
			}
		}
	}