  @Test
  public void event() {

    mh.event(gen, "task1", 8);
    mh.event(gen, "task2", 5);

    List<Mark> marks = mh.read(false);

    assertEquals(2, marks.size());
    List<Mark> expected = Arrays.asList(Mark.event(gen, 8, "task1"), Mark.event(gen, 5, "task2"));
    assertEquals(expected, marks);
  }