public void Setup() { repositoryMock = new Mock <IBillyRepository>(); repository = repositoryMock.Object; service = new BillyService(repository); }
public void SetUp() { BillyRepository repository = new BillyRepository(new RequesterHelper()); service = new BillyService(repository); }