### Question:
ResourceLoader { public synchronized Map<T, Resource> get() { if (!done.get()) { throw new LionEngineException(ERROR_NOT_FINISHED); } return Collections.unmodifiableMap(resources); } ResourceLoader(); synchronized void add(T key, Resource resource); synchronized void start(); synchronized void await(); synchronized Map<T, Resource> get(); boolean isFinished();  }### Answer:
@Test void testNotStartedGet() { final ResourceLoader<Type> resourceLoader = new ResourceLoader<>(); assertThrows(() -> resourceLoader.get(), ResourceLoader.ERROR_NOT_FINISHED); }