@Test
  public void shouldNotAddMeasurementsToASavedSession() {
    sessionManager.session = new Session();

    triggerMeasurement(10);

    assertThat(sessionManager.getMeasurementStreams().isEmpty(), equalTo(true));
  }
  @Test
  public void shouldMarkNotesToBeDeletedForSavedSessions() {
    sessionManager.session = mock(Session.class);
    when(sessionManager.session.getId()).thenReturn(1234L);
    Note note = new Note(null, null, location, null, 10);

    sessionManager.deleteNote(note);

    verify(sessionManager.session).deleteNote(note);
  }