public void StringRepresentation()
 {
     IComponentAdapter componentAdapter = new TestComponentAdapter("Key", typeof (int));
     Assert.AreEqual(typeof (TestComponentAdapter).Name + "[Key]", componentAdapter.ToString());
 }
Beispiel #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;
 }
Beispiel #4
0
 public void ComponentKeyCanBeNullButNotRequested()
 {
     IComponentAdapter componentAdapter = new TestComponentAdapter(null, typeof(string));
     object            key = componentAdapter.ComponentKey;
 }