Пример #1
0
 public void ConvertV1()
 {
     Assert.IsInstanceOf <V1ToV2Converter> (ConnectionConverter.Convert(new V1Connection()));
 }
Пример #2
0
        public void ConvertV2()
        {
            var v2 = new V2Connection();

            Assert.AreSame(v2, ConnectionConverter.Convert(v2));
        }
Пример #3
0
 public void ConvertNull()
 {
     Assert.IsNull(ConnectionConverter.Convert(null));
 }