public void Write_ValidArguments_BytesAreWritten() { // Arrange var bytes = new byte[4]; var backpointer = new Backpointer(bytes); // Act _flvWriter.Write(backpointer); // Assert Assert.Equal(4, _memoryStream.Length); }