@Test
@SuppressWarnings( "unchecked" )
public void testExtensibilityNotifications_defaultHandlers() throws Exception {

	AgentMonitoring am = new AgentMonitoring();
	am.setAgentInterface( new MyAgentInterface( null ));
	List<IMonitoringHandler> handlers = TestUtils.getInternalField( am, "handlers", List.class );
	Assert.assertEquals( 3, handlers.size());
	Assert.assertEquals( FileHandler.class, handlers.get( 0 ).getClass());
	Assert.assertEquals( NagiosHandler.class, handlers.get( 1 ).getClass());
	Assert.assertEquals( RestHandler.class, handlers.get( 2 ).getClass());
}