public void UlsReceivingReturnAck(ReturnReportKey returnReportKey) { InstallTypeShouldBe(InstallType.Uls); KeyTypeShouldBe(KeyType.All); KeyStateShouldBe(KeyType.All, KeyState.ReportedReturn); if (returnReportKey.ReturnReasonCode.StartsWith("O") || returnReportKey.ReturnReasonCode.StartsWith("Q")) { KeyStateWrapper = DataContract.KeyState.Returned; } else { KeyStateWrapper = (DataContract.KeyState)returnReportKey.PreProductKeyStateId; } }
public void UlsReceivingReturnAck(ReturnReportKey returnReportKey) { InstallTypeShouldBe(InstallType.Uls); KeyTypeShouldBe(KeyType.All); KeyStateShouldBe(KeyType.All, KeyState.ReportedReturn); if (returnReportKey.ReturnReasonCode.StartsWith("O") || returnReportKey.ReturnReasonCode.StartsWith("Q")) KeyStateWrapper = DataContract.KeyState.Returned; else KeyStateWrapper = (DataContract.KeyState)returnReportKey.PreProductKeyStateId; }