public void testServerInformationUpdateDenied() throws Exception
{
ServerInformation info = _jmx.getServerInformation();
try
{
info.resetStatistics();
fail("Exception not thrown");
}
catch (SecurityException e)
{
assertEquals("Cause message incorrect", "Permission denied: UPDATE resetStatistics", e.getMessage());