Example #1
0
        public void Properties_Should_HavePropertiesWithProvidedDictionary()
        {
            // Arrange & Act
            var entry = new ShowMeEntry(InitializeProperties());

            // Assert
            Assert.Equal(30, entry.InternalProperties.Count);
        }
Example #2
0
        public void Properties_Should_HaveEmptyDictionaryWithDefaultConstructor()
        {
            // Arrange & Act
            var entry = new ShowMeEntry();

            // Assert
            Assert.Empty(entry.InternalProperties);
        }
Example #3
0
        public void This_Should_ReturnTheCorrectValue()
        {
            // Arrange
            const string expected = "Moved to state Unassigned";
            var          entry    = new ShowMeEntry(InitializeProperties());

            //Act
            var actual = entry["Reason"];

            // Assert
            Assert.Equal(expected, actual);
        }