public void I_Can_Serialize_ToscaDataTypeParserNotFoundException_With_Message() { //TestCop var toscaDataTypeParserNotFoundException = new ToscaDataTypeParserNotFoundException("message"); toscaDataTypeParserNotFoundException.Should().BeBinarySerializable(); }
public void ToscaDataTypeParserNotFoundException_With_Message_And_Inner_Exception_Properly_Initialized() { //TestCop var toscaDataTypeParserNotFoundException = new ToscaDataTypeParserNotFoundException("message", new Exception("inner")); // Assert toscaDataTypeParserNotFoundException.InnerException.Message.Should().Be("inner"); toscaDataTypeParserNotFoundException.Message.Should().Be("message"); }