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