public void SetUp() { _configLocation = Create.Stub <IConfigLocation>(); _reader = new UserNameMappingReader(_configLocation) { Xml = @"<configuration><usernames><add key=""jsmith"" value=""John Smith""/></usernames></configuration>" }; }
public void SetUp() { _configLocation = Create.Stub<IConfigLocation>(); _reader = new UserNameMappingReader(_configLocation) { Xml = @"<configuration><usernames><add key=""jsmith"" value=""John Smith""/></usernames></configuration>" }; }
public UserNameMappingReader(IConfigLocation configLocation) { _configFile = configLocation.FileName; }
public SimpleTabDelimitedConfigClass(IConfigLocation locator) { _locator = locator; }