示例#1
0
        public async Task TestPost()
        {
            // Check default values
            var viewModel = new PostViewModel();

            await viewModel.DidLoad();

            Assert.True(viewModel.IsTwitterEnabled);
            Assert.True(viewModel.IsFacebookEnabled);
            Assert.AreEqual("0", viewModel.CharacterCount);
        }