@Test
public void toJson() throws Exception {

    WinderTaskInput input = new WinderTaskInput();
    input.setJobType("type");
    assertEquals("type", input.getJobType());
    input.setJobGroup("category");
    assertEquals("category", input.getJobGroup());
    input.setJobOwner("owner");
    assertEquals("owner", input.getJobOwner());
    input.setStepInterval(10000);
    assertEquals(10000, input.getStepInterval());
    input.getJobScheduleTime();
    input.setJobScheduleTime(new Date());
    input.put("test", "abc");
    assertTrue(input.toJson().contains("\"test\":\"abc\""));
}