public void WithoutToken()
        {
            Nonce nonce = new Nonce(4543704);
            TimeStamp timestamp = new TimeStamp("1327332614");
            ClientCredentials credentials = new ClientCredentials(CLIENT_IDENTIFIER, CLIENT_SHARED_SECRET);

            PlainTextSignature signature = new PlainTextSignature(credentials);

            Assert.AreEqual("PLAINTEXT", signature.Method);
            Assert.AreEqual("3nis2ci4qp4zksz&", signature.Value);
        }
        public void WithoutToken()
        {
            Nonce             nonce       = new Nonce(4543704);
            TimeStamp         timestamp   = new TimeStamp("1327332614");
            ClientCredentials credentials = new ClientCredentials(CLIENT_IDENTIFIER, CLIENT_SHARED_SECRET);

            PlainTextSignature signature = new PlainTextSignature(credentials);

            Assert.AreEqual("PLAINTEXT", signature.Method);
            Assert.AreEqual("3nis2ci4qp4zksz&", signature.Value);
        }
        public void WithToken()
        {
            Nonce nonce = new Nonce(4543704);
            TimeStamp timestamp = new TimeStamp("1327332614");
            ClientCredentials credentials = new ClientCredentials(CLIENT_IDENTIFIER, CLIENT_SHARED_SECRET);
            AccessToken token = new AccessToken(ACCESS_TOKEN, ACCESS_TOKEN_SECRET); ;

            PlainTextSignature signature = new PlainTextSignature(credentials, token);

            Assert.AreEqual("PLAINTEXT", signature.Method);
            Assert.AreEqual("3nis2ci4qp4zksz&4i5cdsnulour8f5", signature.Value);
        }
        public void WithToken()
        {
            Nonce             nonce       = new Nonce(4543704);
            TimeStamp         timestamp   = new TimeStamp("1327332614");
            ClientCredentials credentials = new ClientCredentials(CLIENT_IDENTIFIER, CLIENT_SHARED_SECRET);
            AccessToken       token       = new AccessToken(ACCESS_TOKEN, ACCESS_TOKEN_SECRET);;

            PlainTextSignature signature = new PlainTextSignature(credentials, token);

            Assert.AreEqual("PLAINTEXT", signature.Method);
            Assert.AreEqual("3nis2ci4qp4zksz&4i5cdsnulour8f5", signature.Value);
        }