@Test public void testAddOption() { WPOption option = new WPOption(); option.setOption_name("test2" + System.currentTimeMillis()); option.setOption_value("test2_value"); option.setAutoload("true"); System.out.println(dao.addOption(option)); System.out.println("ID:" + option.getOption_id()); }
@Test public void testGetOption() { System.out.println(dao.getOption(1)); }