@Test
  public void testProcessActionWithContinous() {
    when(adapter.getFlavor()).thenReturn(NeedsPositionFlavor.CONTINUOUS);
    Position position = mock(Position.class);
    when(adapter.getPosition()).thenReturn(position);
    GeolocationCallback callback = mock(GeolocationCallback.class);
    when(adapter.getCallback()).thenReturn(callback);

    synchronizer.processAction(object);

    verify(callback).onSuccess(position);
    verify(adapter).setPosition(null);
    verify(adapter, never()).setCallback(null);
    verify(adapter, never()).setOptions(null);
    verify(adapter, never()).setFlavor(NeedsPositionFlavor.NEVER);
  }