private void SetUp(IEnumerable <KeyValuePair <string, string> > results) { using (var mock = AutoMock.GetLoose()) { mock.Mock <IEnvConfigParser>() .Setup(p => p.Parse(It.IsAny <IEnumerable <string> >())) .Returns(results); subject = mock.Create <BashiConfigManager>(); } }
public void TearDown() { subject = null; }