### Question:
Activities { public static Dataset datasetForHandshakePulse(final long timestamp, final Resource actor, Resource... graphs) { if (null == actor) { throw new IllegalArgumentException(); } Collection<Statement> c = new LinkedList<>(); IRI activity = factory.randomIRI(); for (Resource graph : fixGraphs(graphs)) { c.add(createStatement(activity, RDF.TYPE, SmSnActivityOntology.HandshakePulse, graph)); } return datasetForGesture(timestamp, activity, c, actor, graphs); }  static Dataset datasetForPointingGesture(final long timestamp,
                                                    final Resource actor,
                                                    final Resource referent,
                                                    Resource... graphs); static Dataset datasetForBatonGesture(final long timestamp,
                                                 final Resource actor,
                                                 Resource... graphs); static Dataset datasetForHandshakePulse(final long timestamp,
                                                   final Resource actor,
                                                   Resource... graphs); static Dataset datasetForHandshakeInteraction(final long timestamp,
                                                         final Resource actor1,
                                                         final Resource actor2,
                                                         Resource... graphs); static Dataset datasetForHandoffInteraction(final long timestamp,
                                                       final Resource giver,
                                                       final Resource taker,
                                                       final Resource thingGiven,
                                                       Resource... graphs); static Dataset datasetForHighFiveInteraction(final long timestamp,
                                                        final Resource actor1,
                                                        final Resource actor2,
                                                        Resource... graphs); static Dataset datasetForAttentionActivity(final long timestamp,
                                                      final Resource actor,
                                                      final Resource focusOfAttention,
                                                      Resource... graphs); static final SimpleDateFormat TIMESTAMP_FORMAT; static final String QUERY_FOR_ALL_GB_GESTURES; static final String QUERY_FOR_ATTENTION; static final String QUERY_FOR_REFERENTS; static final String QUERY_FOR_REFERENTS_WITH_COMMON_ORG; static final String QUERY_FOR_REFERENTS_WITH_COMMON_INTEREST; }### Answer:
@Test public void testDateTimeFormat() throws Exception { IRI actor = valueFactory.createIRI(agentIri); long timestamp = 42L; Dataset ds = Activities.datasetForHandshakePulse(timestamp, actor); for (Statement s : ds.getStatements()) { if (s.getPredicate().equals(Timeline.at)) { String dateValue = s.getObject().stringValue(); assertTrue(dateValue.contains(":00:00.042")); return; } } fail("no " + Timeline.at + " statement in dataset"); }