### Question:
DataLoadingRunnable extends DataLoadTimer implements HasDataLoadingVariables, Runnable { @Override public void loadFailed() { super.loadFailed(); this.reloadState = ReloadState.FAILED; } DataLoadingRunnable(String namespace); void setDataVersion(String version); String getDataVersion(); ReloadState getReloadState(); abstract boolean load(); @Override void loadComplete(); @Override void loadFailed(); void loadNotChanged(); final void run();  }### Answer:
@Test public void testLoadFailed() { dataLoadingRunnable.loadFailed(); assertEquals(ReloadState.FAILED, dataLoadingRunnable.getReloadState()); assertFalse(dataLoadingRunnable.lastLoadWasSuccessful); assertNotNull(dataLoadingRunnable.getSecondsSinceLastFailedLoad()); }