@Test
public void testCreateWarningMessage() {

	long date = new Date().getTime();
	Message msg = Message.createWarningMessage("aWarningMessage", date, -1, "here/aScript2.txt");
	assertEquals(Message.WARN_MSG, msg.getType());
	assertEquals("aWarningMessage", msg.getMessage());
	assertEquals(date, msg.getTimestamp());
	assertEquals(-1, msg.getLine());
	assertEquals("here/aScript2.txt", msg.getScriptName());

}