コード例 #1
0
 public override void Given()
 {
     base.Given();
     this.Subject     = new DistributorService(this.MockedSmsService, this.MockedMailService, this.MockedMailFactory);
     this.Badge       = new List <Badge>(DomainStubFactory.CreateOwner().Badges)[0];
     this.Declaration = DomainStubFactory.CreateDeclaration(Badge);
 }
コード例 #2
0
 public override void Given()
 {
     base.Given();
     this.Declaration = DomainStubFactory.CreateDeclaration();
 }