@Test
public void shouldStopQrScanner() throws Exception {

  serverSearchActivity.stopQrScanner();
  assertThat(serverSearchActivity.qrReaderView.getVisibility(), is(View.GONE));
  assertThat(serverSearchActivity.closeCameraView.getVisibility(), is(View.GONE));
}