Пример #1
0
 protected override void Context()
 {
     base.Context();
     _report        = new ReportPart();
     _entity        = new PKSimParameter();
     _reportBuilder = A.Fake <IReportBuilder <IEntity> >();
     A.CallTo(() => _reportBuilderRepository.BuilderFor(_entity)).Returns(_reportBuilder);
     A.CallTo(() => _reportBuilder.Report(_entity)).Returns(_report);
 }