Esempio n. 1
0
        internal static IUwebshopRequestService CreateMockUwebshopRequestService()
        {
            var uwebshopRequest = new UwebshopRequest();
            var mock            = new Mock <IUwebshopRequestService>();

            mock.SetupGet(m => m.Current).Returns(uwebshopRequest);
            return(mock.Object);
        }
Esempio n. 2
0
 public StubUwebshopRequestService()
 {
     Current = new UwebshopRequest();
 }