public void StringStringCleanUpFuntionality_RemoveStringOfLentgh_TEST() { StringCleanUpFuntionality SCF_TEST = new StringCleanUpFuntionality(); List <string> exceptions = new List <string>() { "Hi" }; string testString = "Hi this is an simple example made to test the method"; string Expected = "this simple example made test the method"; string result = SCF_TEST.removeSubstringOfLentgh(testString, 3, exceptions); Assert.AreEqual(Expected, result); }