示例#1
0
        public void PrivacyShouldBeSetCorrectly()
        {
            var parameters = FacebookUtils.ToDictionary(this.post);

            Assert.Equal(this.post.Privacy, parameters["privacy"]);
        }
示例#2
0
        public void MessageShouldBeSetCorrectly()
        {
            var parameters = FacebookUtils.ToDictionary(this.post);

            Assert.Equal(this.post.Message, parameters["message"]);
        }
示例#3
0
        public void ContainsPrivacyKey()
        {
            var parameters = FacebookUtils.ToDictionary(this.post);

            Assert.True(parameters.ContainsKey("privacy"));
        }
示例#4
0
        public void ContainsMessageKey()
        {
            var parameters = FacebookUtils.ToDictionary(this.post);

            Assert.True(parameters.ContainsKey("message"));
        }
示例#5
0
        public void ThereAreExactlyTwoKeys()
        {
            var parameters = FacebookUtils.ToDictionary(this.post);

            Assert.Equal(2, parameters.Count);
        }
示例#6
0
        public void ResultIsNotNull()
        {
            var parameters = FacebookUtils.ToDictionary(this.post);

            Assert.NotNull(parameters);
        }