@Test
public void error() throws Exception {

    final UiIndicator uiIndicator = UiIndicator.error();
    assertEquals(UiIndicator.State.Error, uiIndicator.getState());
    assertEquals(null, uiIndicator.getData().orNull());
}