Beispiel #1
0
 public PetsBusinesslogic(IPetsDataAccess petsDataAccess)
 {
     if (petsDataAccess == null)
     {
         throw new ArgumentException();
     }
     _petsDataAccess = petsDataAccess;
 }
Beispiel #2
0
 public void Setup()
 {
     _moqClient      = new Mock <IRestClient>();
     _petsDataAccess = new PetsDataAccess(_moqClient.Object);
 }
Beispiel #3
0
 public void Teardown()
 {
     _moqClient      = null;
     _petsDataAccess = null;
 }