public void ShouldBeAbleToHandleCandidateFeedbackMessage() { // Act. var command = new HelpDeskCommunicationCommand(null); // Assert. command.CanHandle(_communicationRequest).Should().BeTrue(); }
public void ShouldBeUnableToHandleOtherTypeOfMessage(MessageTypes messageType) { // Arrange. var communicationRequest = new CommunicationRequest { MessageType = messageType }; var command = new HelpDeskCommunicationCommand(null); // Act. var canHandle = command.CanHandle(communicationRequest); // Assert. canHandle.Should().BeFalse(); }