Page History
...
Code Block | ||
---|---|---|
| ||
MockNode root = new MockNode(); root.addNode(MetaData.DEFAULT_META_NODE); root.setProperty("stringProperty", "HelloWorld"); |
Setup
In order to use these testing utilities, you must add the following dependency to your project:
Code Block |
---|
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
<version>${magnolia.version}</version>
</dependency> |
Overview
Content Tools