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

Activity

Show:
Stefan Seifert
December 2, 2019, 2:26 PM
Dirk Rudolph
December 2, 2019, 2:41 PM

Sure, PR in

Stefan Seifert
December 3, 2019, 9:21 PM

thanks, PR is merged

Fixed

Assignee

Stefan Seifert

Reporter

Dirk Rudolph

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure