public void shouldCreateBeat()

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


  public void shouldCreateBeat() throws InterruptedException {
    final String applicationIdentifier = "funnybusiness-v1";
    final Beat beat = createBeatForThisHour(applicationIdentifier, "bebopthedowop");

    final Beat createdBeat = this.testSubject.getBeat(applicationIdentifier, beat.getIdentifier());
    Assert.assertEquals(beat, createdBeat);

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