State { public void setLoading(@Nullable String path) { if (!isLoaded(path)) { loadState = LoadState.LOADING; this.path = path; } }  @Nullable String getPath(); boolean isDeinit(); void setDeinit(); boolean isInit(); void setInit(); boolean isLoading(); boolean isLoading(@Nullable String path); void setLoading(@Nullable String path); boolean isLoaded(); boolean isLoaded(@Nullable String path); void setLoaded(); boolean isStopped(); void setStopped(); boolean isPlaying(); void setPlaying(); boolean isPaused(); void setPaused();  }
@Test public void testIsInitLoading() { subject.setLoading(PATH_A); assertInit(true); }
@Test public void testIsLoadedLoading() { subject.setLoading(PATH_A); assertLoaded(false); }
@Test public void testIsLoadedPathLoading() { subject.setLoading(PATH_A); assertLoaded(PATH_A, false); }