public void ContainsTextFirmaTest() { var firma = new Firma { Adresa = "abc", Cui = "cde", DataInfiintarii = DateTime.Now, Iban = "xyz", IdBanca = 2, IdDelegat = 2, Nume = "poi", Rc = "pay", Telefon = "y+2223" }; string text = "21 2012"; var actual = firma.Contains(text); var expected = true; Assert.AreEqual(expected, actual); }