// ==============================================================================================================
@Test
public void restrictAccess() throws Exception {
Restrictor restrictor = createMock(Restrictor.class);
expect(restrictor.isAttributeReadAllowed(testBeanName,"attr")).andReturn(false);
handler = new ReadHandler(restrictor);
JmxReadRequest request = new JmxRequestBuilder(READ, testBeanName).
attribute("attr").
build();