示例#1
0
        public void Setup()
        {
            repositoryMock = new Mock <IBillyRepository>();
            repository     = repositoryMock.Object;

            service = new BillyService(repository);
        }
示例#2
0
        public void SetUp()
        {
            BillyRepository repository = new BillyRepository(new RequesterHelper());

            service = new BillyService(repository);
        }