Exemple #1
0
 public AgentSettings_Should
 (
     AliceWebApplicationFactory aAliceWebApplicationFactory,
     JsonSerializerSettings aJsonSerializerSettings
 ) : base(aAliceWebApplicationFactory, aJsonSerializerSettings)
 {
     AgentSettings = aAliceWebApplicationFactory.Services.GetService <IOptions <AgentSettings> >().Value;
 }
Exemple #2
0
 public Handle_Returns
 (
     AliceWebApplicationFactory aAliceWebApplicationFactory,
     JsonSerializerSettings aJsonSerializerSettings
 ) : base(aAliceWebApplicationFactory, aJsonSerializerSettings)
 {
     ReceiveInvitationRequest = CreateValidReceiveInvitationRequest();
 }
 public Validate_Should
 (
     AliceWebApplicationFactory aAliceWebApplicationFactory,
     JsonSerializerSettings aJsonSerializerSettings
 ) : base(aAliceWebApplicationFactory, aJsonSerializerSettings)
 {
     ReceiveInvitationRequestValidator = new ReceiveInvitationRequestValidator();
     ReceiveInvitationRequest          = CreateValidReceiveInvitationRequest();
 }