Example #1
0
        public void AddSuccess_Message()
        {
            container.AddSuccess("Message", 1);

            Alert actual = container.Single();

            Assert.Equal(AlertType.Success, actual.Type);
            Assert.Equal("Message", actual.Message);
            Assert.Equal(1, actual.Timeout);
        }