public void Clone_CallsClone_OnExplicitInterfaceDefinition()
        {
            // Arrange
            ExplicitInterfaceDefinition source = new ExplicitInterfaceDefinition { Age = 2, Name = "Henrik" };

            // Act
            ExplicitInterfaceDefinition result = source.Clone();

            // Assert
            Assert.NotSame(source, result);
            Assert.Equal(source.Age, result.Age);
            Assert.Equal(source.Name, result.Name);
        }
        public void Clone_CallsClone_OnExplicitInterfaceDefinition()
        {
            // Arrange
            ExplicitInterfaceDefinition source = new ExplicitInterfaceDefinition {
                Age = 2, Name = "Henrik"
            };

            // Act
            ExplicitInterfaceDefinition result = source.Clone();

            // Assert
            Assert.NotSame(source, result);
            Assert.Equal(source.Age, result.Age);
            Assert.Equal(source.Name, result.Name);
        }
 protected ExplicitInterfaceDefinition(ExplicitInterfaceDefinition source)
 {
     this.Name = source.Name;
     this.Age = source.Age;
 }
 protected ExplicitInterfaceDefinition(ExplicitInterfaceDefinition source)
 {
     this.Name = source.Name;
     this.Age  = source.Age;
 }