public void ToscaImportFileNotFoundException_With_Inner_Exception_Initialized_Properly() { var innerException = new Exception("inner"); var toscaImportFileNotFoundException = new ToscaImportFileNotFoundException("message", innerException); toscaImportFileNotFoundException.InnerException.Message.Should().Be("inner"); toscaImportFileNotFoundException.Message.Should().Be("message"); }
public void ToscaImportFileNotFoundException_With_Message_Should_BeBinarySerializable() { var toscaImportFileNotFoundException = new ToscaImportFileNotFoundException("message"); toscaImportFileNotFoundException.Should().BeBinarySerializable(); }