@Test
public void testGetChannelContainer() throws Exception
{

    NodeRef channels = rootObject.getChannelContainer();
    assertNotNull(channels);
    assertTrue(nodeService.exists(channels));
    assertEquals(ContentModel.TYPE_FOLDER, nodeService.getType(channels));
    ChildAssociationRef parentAssoc = nodeService.getPrimaryParent(channels);
    assertEquals(PublishingRootObject.CHANNELS_QNAME, parentAssoc.getQName());
    assertEquals(rootObject.getEnvironment().getNodeRef(), parentAssoc.getParentRef());
}