@Test public void Should_Not_Update_Distance_If_There_Was_An_Error() { float LOCATION_ERROR = -1; //PREPARE Fixture fixture = new Fixture() .withDistanceToMarker(LOCATION_ERROR) .configure(); //RUN fixture.sut.onCurrentLocationChangedEvent(new CurrentLocationChangedWithAppOnEvent(mock(Position.class))); //ASSERT verify(fixture.view, never()).updateMapStatusDistanceToValue(anyFloat()); }