*
* @return
* @throws Exception
*/
public void testBorderTime() throws Exception {
ToyClock clock = new ToyClock();
Store store = getStoreImpl(clock);
Source source = new SourceImpl("http://example.org/graph-source");
FCAGraph[] graphs = new FCAGraph[2];
graphs[0] = new FCAGraphImpl(
modelWithStatements("_a dc:subject _b"));
graphs[1] = new FCAGraphImpl(
modelWithStatements("http://example.org/ dc:author 'foo'"));
clock.setTime(new W3CDateFormat()
.parse("2006-05-01T16:30:00Z"));
store.updateGraph(source, graphs[0]);
Date date2 = new W3CDateFormat().parse("2006-05-01T16:32:00Z");
clock.setTime(date2);
store.updateGraph(source, graphs[1]);
Set<Source> sourceSet = new HashSet<Source>();
sourceSet.add(source);
FCAGraph retrievedGraph = store.getGraphOverTime(sourceSet).getGraph(
new W3CDateFormat().parse("2006-05-01T16:30:00Z"));