public void setType_TyPeTest() { TP tp = new TP(); string s = ""; tp.setType(s.GetType()); Assert.AreEqual(typeof(string), tp.type); //Assert.Pass(); }