}
@Test
public void simple() throws MalformedObjectNameException, InstanceNotFoundException, IOException, ReflectionException, AttributeNotFoundException, MBeanException {
JmxWriteRequest req = new JmxRequestBuilder(WRITE,oName).attribute("Simple").value("10").build();
handler.doHandleRequest(getMBeanServer(),req);
req = new JmxRequestBuilder(WRITE,oName).attribute("Simple").value("20").build();
Integer ret = (Integer) handler.doHandleRequest(getMBeanServer(),req);
assertEquals(ret,new Integer(10));
assertEquals(handler.getType(),WRITE);