@Test
public void testFactoryFailures() {

	try {
		Appt.fromString(null);
		fail("did not throw expected NullPointerException");
	} catch (NullPointerException e) {
		// OK
	}
	try {
		Appt.fromString("random garbage");
		fail("did not throw expected IllegalArumentException");
	} catch (IllegalArgumentException e) {
		// OK
	}
	try {
		Appt.fromString("1951 foo 24 6 0 birthday");
		fail("did not throw expected IllegalArumentException");
	} catch (IllegalArgumentException e) {
		// OK
	}
}