@Test
public void testSetDocument() {

	String author = "Lyle Lanley";
	String company = "North Haverbrook Railway Ltd.";
	String content = "The Springfiled Monorail is a short-lived transport system.";
	String date = "1993-01-14";
	String name = "Springfield Monorail";
	String version = "2.0";
	doc = netdef.getDocument();
	doc.setAuthor(author);
	doc.setCompany(company);
	doc.setContent(content);
	doc.setDate(date);
	doc.setName(name);
	doc.setVersion(version);
	netdef.setDocument(doc);
	assertEquals("Unexpected document author", author, doc.getAuthor());
	assertEquals("Unexpected document company", company, doc.getCompany());
	assertEquals("Unexpected document content", content, doc.getContent());
	assertEquals("Unexpected document date", date, doc.getDate());
	assertEquals("Unexpected document name", name, doc.getName());
	assertEquals("Unexpected document version", version, doc.getVersion());
}