@Test public void isEmpty() {

  final History.Builder builder = History.emptyBuilder();
  assertThat(builder.isEmpty()).isTrue();
  builder.push("foo");
  assertThat(builder.isEmpty()).isFalse();
  builder.pop();
  assertThat(builder.isEmpty()).isTrue();
}