@Before public void setUp() throws Exception { this.aradon = Aradon.create( Configuration.newBuilder() .aradon() .addAttribute("cacheName", "c1") .sections() .restSection("") .path("hello") .addUrlPattern("/hello") .handler(SimpleLet.class) .aradon() .sections() .restSection("other") .path("hello") .addUrlPattern("/hello") .handler(SimpleLet.class) .build()); }
@Test public void testHelloLet() throws Exception { Aradon myaradon = Aradon.create("resource/config/readonly-config.xml"); // load HiLet }