DefaultDisplayCoordinator extends DisplayCoordinator { @MainThread @Override public boolean isReady() { if (currentMessage != null) { return false; } return !isLocked; } DefaultDisplayCoordinator(long displayInterval); @MainThread @Override boolean isReady(); @MainThread @Override void onDisplayStarted(@NonNull InAppMessage message); @MainThread @Override void onDisplayFinished(@NonNull InAppMessage message);  }
@Test public void isReady() { assertTrue(coordinator.isReady()); }