/*
 * Copyright 2015 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 org.junit.gen5.engine.junit5;

import lombok.Data;
import lombok.EqualsAndHashCode;

import org.junit.gen5.commons.util.Preconditions;
import org.junit.gen5.engine.TestDescriptor;

/**
 * {@link TestDescriptor} for tests based on Java classes.
 *
 * <p>The pattern of the {@link #getTestId test ID} takes the form of
 * <code>{fully qualified class name}</code>.
 *
 * @since 5.0
 */
@Data
@EqualsAndHashCode
public class JavaClassTestDescriptor implements TestDescriptor {

	private final TestDescriptor parent;
	private final Class<?> testClass;

	public JavaClassTestDescriptor(Class<?> testClass, TestDescriptor parent) {
		Preconditions.notNull(testClass, "testClass must not be null");
		Preconditions.notNull(parent, "parent must not be null");

		this.testClass = testClass;
		this.parent = parent;
	}

	@Override
	public String getUniqueId() {
		return parent.getUniqueId() + ":" + testClass.getName();
	}

	@Override
	public String getDisplayName() {
		return testClass.getSimpleName();
	}

	@Override
	public boolean isTest() {
		return false;
	}

}

@@ -597,19 +597,23 @@
 #get
-TestId test
+UniqueId unique
  ID%7D
@@ -641,16 +641,35 @@
  %3Ccode%3E%7B
+parent unique id%7D:%7B
 fully qu

Fix Javadoc link