@Override
protected void prepareResources() {
SeamAutowire seamAutowire = getSeamAutowire();
// @formatter:off
seamAutowire.ignoreNonResolvable()
.use("session", getSession())
.use("identity", mockIdentity)
.useImpl(LocaleServiceImpl.class)
.useImpl(GlossaryFileServiceImpl.class);
// @formatter:on