@Test
public void whenShouldRegisterWithEverythingRequired() {

    task = new HsqlDatabaseManagerSwingTask(URL_HSQLDB);
    properties.put(HsqlDatabaseManagerSwingTask.class.getCanonicalName(), Boolean.TRUE.toString());
    boolean actual = task.shouldRegister(properties);
    assertThat(actual).isTrue().isEqualTo(task.ok);
}