public void TestTemporalMarkerHasLocationSetByUser() { AbstractMarker argumentUsed = null; map.AddMarker(Arg.Do <AbstractMarker> (x => argumentUsed = x)); mapWrapper.SetTemporalMarker(temporalMarkerLocation); Assert.AreSame(temporalMarkerLocation, argumentUsed.Location); }