public void StringRepresentation()
 {
     IComponentAdapter componentAdapter = new TestComponentAdapter("Key", typeof (int));
     Assert.AreEqual(typeof (TestComponentAdapter).Name + "[Key]", componentAdapter.ToString());
 }
Example #2
0
        public void StringRepresentation()
        {
            IComponentAdapter componentAdapter = new TestComponentAdapter("Key", typeof(int));

            Assert.AreEqual(typeof(TestComponentAdapter).Name + "[Key]", componentAdapter.ToString());
        }
 public void ComponentKeyCanBeNullButNotRequested()
 {
     IComponentAdapter componentAdapter = new TestComponentAdapter(null, typeof (string));
     object key = componentAdapter.ComponentKey;
 }
Example #4
0
 public void ComponentKeyCanBeNullButNotRequested()
 {
     IComponentAdapter componentAdapter = new TestComponentAdapter(null, typeof(string));
     object            key = componentAdapter.ComponentKey;
 }