Beispiel #1
0
 public CreateChampionshipService(
     IMovieRepository movieRepository,
     ICreateClassificationService createClassificationService)
 {
     _movieRepository             = movieRepository;
     _createClassificationService = createClassificationService;
 }
Beispiel #2
0
 public void SetUp()
 {
     _movieRepository             = Substitute.For <IMovieRepository>();
     _createClassificationService = Substitute.For <ICreateClassificationService>();
     _createChampionshipService   = new CreateChampionshipService(_movieRepository, _createClassificationService);
 }