Rename "absent" to "empty" in test names

This is left over from the transition from Guava to Java 8 Optionals.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=207154260
This commit is contained in:
mcilwain 2018-08-02 13:24:29 -07:00 committed by jianglai
parent 8664101687
commit a111ff0b0a
3 changed files with 8 additions and 8 deletions

View file

@ -64,7 +64,7 @@ public final class RouterTest {
}
@Test
public void testRoute_pathMismatch_returnsAbsent() {
public void testRoute_pathMismatch_returnsEmpty() {
assertThat(Router.create(SlothComponent.class).route("/doge")).isEmpty();
}
@ -92,7 +92,7 @@ public final class RouterTest {
}
@Test
public void testRoute_prefixDoesNotMatch_returnsAbsent() {
public void testRoute_prefixDoesNotMatch_returnsEmpty() {
assertThat(Router.create(PrefixComponent.class).route("")).isEmpty();
assertThat(Router.create(PrefixComponent.class).route("/")).isEmpty();
assertThat(Router.create(PrefixComponent.class).route("/ulysses")).isEmpty();