  @Test public void treeCount() {

    // inserts trees and checks if the amount of returned trees matches.
    assertThat(Timber.treeCount()).isEqualTo(0);
    for(int i= 1 ; i < 50 ; i++){
      Timber.plant(new Timber.DebugTree());
      assertThat(Timber.treeCount()).isEqualTo(i);
    }
    Timber.uprootAll();
    assertThat(Timber.treeCount()).isEqualTo(0);
  }