public async Task WhenCalledWithOtherReason_ThenUpdateIsCalled_ForCertificateReference(UpdateCertificateWithReprintReasonCommand command) { // Arrange var fixture = new UpdateCertificateWithReprintReasonCommandHandlerTestsFixture() .WithCertificate(command.CertificateReference); command.OtherReason = "Some other reason"; // Act await fixture.Handle(new UpdateCertificateWithReprintReasonCommand { CertificateReference = command.CertificateReference, IncidentNumber = command.IncidentNumber, Reasons = command.Reasons, OtherReason = command.OtherReason, Username = command.Username }); // Assert fixture.VerifyUpdateCalled(command.CertificateReference, command.IncidentNumber, command.Reasons, command.Username, CertificateActions.ReprintReason, command.OtherReason); }