Esempio n. 1
0
 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>();
     }
 }
Esempio n. 2
0
 public void TearDown()
 {
     subject = null;
 }