@Test
public void shouldLogBeforeUpdate() throws Exception {

  loggingUpdate.update("mah model", 1);
  assertThat(
      logger.beforeUpdate, contains(CapturingLogger.BeforeUpdateArgs.create("mah model", 1)));
}