public void testLoadThirdLevelCategory() throws Exception {
categoryServiceAsyncMock.addCategorySelection( "/", "one", "two", "three" );
categoryServiceAsyncMock.addCategorySelection( "/one", "t1", "t2" );
categoryServiceAsyncMock.addCategorySelection( "/one/t2", "a", "b", "c", "d", "e", "f" );
IsTreeItem oneTreeItem = mock( IsTreeItem.class );
when( view.addTreeItem( rootCategoryTreeItem, "one" ) ).thenReturn( oneTreeItem );
IsTreeItem t2TreeItem = mock( IsTreeItem.class );
when( view.addTreeItem( oneTreeItem, "t2" ) ).thenReturn( t2TreeItem );
setUpChildren( rootCategoryTreeItem, oneTreeItem );
setUpChildren( oneTreeItem, t2TreeItem );
setUpChildren( t2TreeItem );