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