### Question:
KeanuAnimationComponent implements StatusBarComponent { @Override public String render() { String result = "\r"; result += FRAMES[nextFrameIndex.getAndIncrement() % FRAMES.length]; return result; }  @Override String render();  }### Answer:
@Test public void animationChangesEachRender() { KeanuAnimationComponent animationComponent = new KeanuAnimationComponent(); assertThat(animationComponent.render(), equalTo("\r|Keanu|")); assertThat(animationComponent.render(), equalTo("\r\\Keanu/")); }