Esempio n. 1
0
        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;
            }
        }
Esempio n. 2
0
        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;
        }