public static void Update_Copies_State_From_Other_Instance()
        {
            // Arrange
            var other = new SqlLocalDbVersionInfo()
            {
                Exists  = true,
                Name    = "OtherName",
                Version = new Version(2, 1),
            };

            var actual = new SqlLocalDbVersionInfo()
            {
                Exists  = false,
                Name    = "Name",
                Version = new Version(2, 0),
            };

            // Act
            actual.Update(other);

            // Assert
            actual.Exists.ShouldBe(other.Exists);
            actual.Name.ShouldBe(other.Name);
            actual.Version.ShouldBe(other.Version);
        }
        public static void Update_Does_Not_Copy_State_If_Other_Is_Self()
        {
            // Arrange
            var actual = new SqlLocalDbVersionInfo()
            {
                Exists  = false,
                Name    = "Name",
                Version = new Version(2, 0),
            };

            // Act
            actual.Update(actual);

            // Assert
            actual.Exists.ShouldBeFalse();
            actual.Name.ShouldBe("Name");
            actual.Version.ShouldBe(new Version(2, 0));
        }