public void Append_Appending_CallsShipperWithCorrectValues() { _target.DoAppend(GetLoggingEventWithSomeData()); _target.Close(); _shipper.Received().Ship(Arg.Is <LogzioLoggingEvent>(x => (string)x.LogData["domain"] == "Such domain"), Arg.Any <ShipperOptions>()); }