private static string BaseEncodeTest(EngineIoPacket packet, string expectedMessage) { var message = packet.Encode(); Assert.AreEqual(expectedMessage, message, $"{nameof(BaseEncodeTest)}.{nameof(message)}: {message}"); return(message); }
private static string BaseEncodeTest(EngineIoPacket packet, string expectedMessage) { var message = packet.Encode(); message.Should().Be(expectedMessage); return(message); }
private static void BaseEncodeDecodeTest(EngineIoPacket packet) { var message = packet.Encode(); BaseDecodeTest(message, packet); }