public async Task WriteTerminateMessage_Default_IsMatch() { // arrange await using var writer = new SocketMessageWriter(); // act writer.WriteTerminateMessage(); // assert Encoding.UTF8.GetString(writer.Body.Span).MatchSnapshot(); }