/** when locationis received, shall stop updates immediately */
  @Test
  public void testThatLocationRequestUsCanceledUponLocationReceiving(
      @Mocked("stopUpdates") final LegacyLocationProcessor llp,
      @NonStrict final Location location,
      @NonStrict Log log) {

    new Expectations() {
      {
        llp.stopUpdates();
      }
    };

    assertSame(location, llp.processLocationUpdate(location));
    assertSame(location, Deencapsulation.getField(llp, "cached"));
  }