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