public void ExtractMeaningfulData_GivenValidInput_SubstringCorrect() { List <string> testData = new List <string>() { "2-3 r: rrrrr" }; _passwordManager.ExtractMeaningfulData(testData); Assert.That(_passwordManager.passwordToCheck, Is.EqualTo("rrrrr")); }