@Before
 public void setup() {
   sessionManager.sessionRepository = mock(SessionRepository.class);
   sessionManager.session = new Session();
   sessionManager.session.add(new SoundMeasurement());
   session = new Session();
   session.setTitle("New title");
 }
  @Before
  public void setUp() throws Exception {
    location = new Location(LocationManager.GPS_PROVIDER);
    location.setLatitude(50);
    location.setLongitude(20);
    sessionManager.sessionRepository = mock(SessionRepository.class);

    mockSensors();
    progressListener = mock(ProgressListener.class);
  }