diff --git a/tests/phpunit/TagTest.php b/tests/phpunit/TagTest.php
index <HASH>..<HASH> 100644
--- a/tests/phpunit/TagTest.php
+++ b/tests/phpunit/TagTest.php
@@ -98,6 +98,26 @@ class TagTest extends \PHPUnit\Framework\TestCase {
 	}
 
 	/**
+	 * @covers Tag::appendContent
+	 * @covers Tag::prependContent
+	 * @covers Tag::removeContent
+	 */
+	public function testVariadicContentMethods() {
+		$tag = new Tag();
+		$empty = [];
+
+		$tag->appendContent( $empty );
+		$tag->appendContent( ...$empty );
+		$tag->prependContent( $empty );
+		$tag->prependContent( ...$empty );
+		$tag->removeContent( $empty );
+		$tag->removeContent( ...$empty );
+
+		// What we really care about is that the calls above don't fail
+		$this->assertSame( '<div></div>', $tag->toString() );
+	}
+
+	/**
 	 * @covers Tag::setAttributes
 	 * @covers Tag::getAttribute
 	 * @covers Tag::removeAttributes
Add PHPUnit tests for variadic Tag methods

It's good practice to support such methods being called with no
argument.

Change-Id: I<I>e5c<I>b<I>b5ab1a0ca<I>b<I>