@Test
public void getDocument_errors() {

	try {
		repo.getDocument(new Date(), "12321");
		Assert.fail("exception not thrown");
	}
	catch (RuntimeException ex) {
		Assert.assertTrue(ex.getMessage().startsWith("document for date:"));
	}
}