Given the method signature you provided, you can simply "unit test the ReadFile method by calling it with many different inputs and confirm the return value is correct.
Obscure Tests, , .
TDD , API.
, , :
public Dictionary<string, string> ReadFile(TextReader reader, string delimeter)
TextReader , StringReader unit test.
unit test ReadFile, , .