Example #1
0
        public void should_restrict_to_interface_on_type_argument()
        {
            var demoObject = new InterfaceRestrictedGenericDemoClass <Duck>();

            // correct the variable value to fix the test
            const string expectedStringValue = "";

            Assert.Equal(expectedStringValue, demoObject.ToString());
        }
        public void should_restrict_to_interface_on_type_argument()
        {
            var demoObject = new InterfaceRestrictedGenericDemoClass<Duck>();

            // correct the variable value to fix the test
            const string expectedStringValue = "";

            Assert.Equal(expectedStringValue, demoObject.ToString());
        }