Exemple #1
0
        public void GenerateCookieToken()
        {
            // Arrange
            var tokenProvider = new AntiForgeryTokenProvider(
                                            config: null,
                                            claimUidExtractor: null,
                                            additionalDataProvider: null);

            // Act
            var retVal = tokenProvider.GenerateCookieToken();

            // Assert
            Assert.NotNull(retVal);
        }
Exemple #2
0
        public void GenerateCookieToken()
        {
            // Arrange
            var tokenProvider = new AntiForgeryTokenProvider(
                config: null,
                claimUidExtractor: null,
                additionalDataProvider: null);

            // Act
            var retVal = tokenProvider.GenerateCookieToken();

            // Assert
            Assert.NotNull(retVal);
        }