public void CreateMessage_OperaOptions_ReturnString() { var options = new OperaOptions(); options.AddArguments(new List <string> { "--start-maximized", "--ignore-certificate-errors" }); var str = options.CreateMessage().Replace("\n", "").Replace("\r", "").RemoveWhitespace(); str.Should().Be(operaOptions); }