public void ConvertV1() { Assert.IsInstanceOf <V1ToV2Converter> (ConnectionConverter.Convert(new V1Connection())); }
public void ConvertV2() { var v2 = new V2Connection(); Assert.AreSame(v2, ConnectionConverter.Convert(v2)); }
public void ConvertNull() { Assert.IsNull(ConnectionConverter.Convert(null)); }