public void CloneByFirstConstructorTest1() { ReflectionUtils target = new ReflectionUtils(); ComplexStructure c = new ComplexStructure(); c.Field1 = "SomeValue"; Type t = c.GetType(); ComplexStructure actual; try { actual = (ComplexStructure)target.CloneByFirstConstructor(t); Assert.AreEqual(null, actual.Field1); } catch (Exception) { Assert.Fail(); } }