@Test
void loadOneTimeScheduledTask() {

    Bundle bundle = new Bundle();
    loader.load(bundle, createScheduledTaskXml(DocumentTools.INSTANCE.getDocumentBuilder().newDocument(), true));
    final ScheduledTask entity = bundle.getScheduledTasks().get("Test");
    assertNotNull(entity);
    assertEquals("id", entity.getId());
    assertEquals("Test", entity.getName());
    assertFalse(entity.getIsOneNode());
    assertEquals("One time", entity.getJobType());
    assertEquals("someDate", entity.getExecutionDate());
    assertNull(entity.getCronExpression());
    assertEquals("Scheduled", entity.getJobStatus());
    assertFalse(entity.getShouldExecuteOnCreate());
    assertEquals("testValue", entity.getProperties().get("testProp"));
}