/*
 * Copyright 2015-2016 the original author or authors.
 *
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution and is available at
 *
 * http://www.eclipse.org/legal/epl-v10.html
 */

package example;

// tag::user_guide[]
import org.junit.gen5.api.DisplayName;
import org.junit.gen5.api.Test;

@DisplayName("A special test case")
class DisplayNameDemo {

	@Test
	@DisplayName("A nice name, isn't it?")
	void testWithANiceName() {
	}
}
// end::user_guide[]

@@ -505,64 +505,261 @@
 me(%22
-A nice name, isn't it?%22)%0A%09void testWithANiceName
+Custom test name containing spaces%22)%0A%09void testWithDisplayNameContainingSpaces() %7B%0A%09%7D%0A%0A%09@Test%0A%09@DisplayName(%22%E2%95%AF%C2%B0%E2%96%A1%C2%B0%EF%BC%89%E2%95%AF%22)%0A%09void testWithDisplayNameContainingSpecialCharacters() %7B%0A%09%7D%0A%0A%09@Test%0A%09@DisplayName(%22%F0%9F%98%B1%22)%0A%09void testWithDisplayNameContainingEmoji
 () %7B%0A%09%7D%0A
 %7D%0A//
@@ -754,16 +754,17 @@
 () %7B%0A%09%7D%0A
+%0A
 %7D%0A// end

Include emoji and special characters in @DisplayName demo