Exemplo n.º 1
0
 public void ServiceUpdatesTheRequestedPerson()
 {
     this.Given(g => _personFixture.GivenAPersonAlreadyExistsAndUpdateRequested())
     .And(g => _personFixture.GivenAUpdatePersonRequest())
     .When(w => _steps.WhenTheUpdatePersonApiIsCalled(_personFixture.UpdatePersonRequest, _personFixture.PersonId))
     .Then(t => _steps.ThenThePersonDetailsAreUpdated(_personFixture))
     .Then(t => _steps.ThenThePersonUpdatedEventIsRaised(_personFixture, _snsFixture))
     .BDDfy();
 }