@Test
  public void shouldKeepMeasurements() {
    sessionManager.updateSession(session);

    assertThat(sessionManager.getSoundMeasurements().size(), equalTo(1));
  }
  @Test
  public void shouldSaveTheSession() {
    sessionManager.updateSession(session);

    verify(sessionManager.sessionRepository).update(sessionManager.session);
  }
  @Test
  public void shouldUpdateTheSessionHeader() {
    sessionManager.updateSession(session);

    assertThat(sessionManager.session.getTitle(), equalTo("New title"));
  }