@Before public void setUp_InheritorFactoryTest() throws Exception { _context = getContext(); _xwiki = createMock(XWiki.class); _context.setWiki(_xwiki); _factory = new InheritorFactory(); _mockWebUtils = createMock(IWebUtils.class); _factory.inject_TEST_WebUtils(_mockWebUtils); }