private ObjectName oName;
@BeforeTest
public void createHandler() throws MalformedObjectNameException, MBeanException, InstanceAlreadyExistsException, IOException, NotCompliantMBeanException, ReflectionException {
ObjectToJsonConverter converter = new ObjectToJsonConverter(new StringToObjectConverter(),null);
handler = new WriteHandler(new AllowAllRestrictor(),converter);
oName = new ObjectName("jolokia:test=write");