Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.1.2-incubating
-
None
Description
As per email[1], update IsisTestRunner
The @Persistor annotation needs to specify an installer that overrides the desired installer:
public class SqlPersistorInstallerWithinJunit extends SqlPersistorInstaller {
/**
- Returns a
{@link DomainObjectContainerHeadlessViewer}
.
{ return new DomainObjectContainerWrapperFactory(); }
*/
@Override
protected DomainObjectContainer createContainer(final IsisConfiguration configuration)
}
This ensures that any created objects get the junit viewer wrapped container.