Implement MockComponentContext: isRoot(), getRoot() and getParent()

Description

For simplicity reasons we could consider the ComponentContext being available via AEM Mocks always being the root context. That means we could return the following:

Method

Returns

MockComponentContext#isRoot()

always true

MockComponentContext#getRoot()

always this

MockComponentContext#getParent()

always null

Assignee

Stefan Seifert

Reporter

Dirk Rudolph

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure