@Test
public void canAccessKernelBean() throws Exception
{
// START SNIPPET: getKernel
Kernel kernel = graphDb.getManagementBean( Kernel.class );
// END SNIPPET: getKernel
assertNotNull( "kernel bean is null", kernel );
assertNotNull( "MBeanQuery of kernel bean is null", kernel.getMBeanQuery() );
}