public void shouldDeleteApplication()

in component-test/src/main/java/org/apache/fineract/cn/rhythm/TestBeats.java [84:93]


  public void shouldDeleteApplication() throws InterruptedException {
    final String applicationIdentifier = "funnybusiness-v3";
    createBeatForThisHour(applicationIdentifier, "bebopthedowop");

    this.testSubject.deleteApplication(applicationIdentifier);
    Assert.assertTrue(this.eventRecorder.wait(EventConstants.DELETE_APPLICATION, applicationIdentifier));

    final List<Beat> allEntities = this.testSubject.getAllBeatsForApplication(applicationIdentifier);
    Assert.assertTrue(allEntities.isEmpty());
  }