public void Clone_CopiesIfUnknownType() { var mock = new Mock <ILaunchProfile>(); var clone = LaunchProfile.Clone(mock.Object); Assert.NotSame(clone, mock.Object); }
public void Clone_DoesNotCopyIfAlreadyConcreteType() { var source = new LaunchProfile("Name", "Command"); var clone = LaunchProfile.Clone(source); Assert.Same(clone, source); }