Exemplo n.º 1
0
        public void ExtractLsnFromSessionToken_ShouldParseNewSessionTokenWithMultipleRegionalLsn()
        {
            string newTokenWithRegionalLsn = "0:-1#12345#Region1=1#Region2=2";
            string expectedLsn             = "12345";

            Assert.AreEqual(expectedLsn, RemainingWorkEstimatorCore.ExtractLsnFromSessionToken(newTokenWithRegionalLsn));
        }
Exemplo n.º 2
0
        public void ExtractLsnFromSessionToken_ShouldParseNewSessionToken()
        {
            string newToken    = "0:-1#12345";
            string expectedLsn = "12345";

            Assert.AreEqual(expectedLsn, RemainingWorkEstimatorCore.ExtractLsnFromSessionToken(newToken));
        }