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