docs: public void hasLastEntry(@NullableDecl Object key, @NullableDecl Object value) {
      Entry<Object, Object> expectedEntry = Maps.immutableEntry(key, value);
      if (actualAsNavigableMap().isEmpty()) {
        failWithActual("expected to have last entry", expectedEntry);
        return;
      }
  
      Entry<?, ?> actualLastEntry = actualAsNavigableMap().lastEntry();
      if (!Objects.equal(actualLastEntry, expectedEntry)) {
        Object actualLastKey = actualLastEntry.getKey();
        if (actualAsNavigableMap().entrySet().contains(expectedEntry)) {
          failWithoutActual(
              simpleFact(
                  lenientFormat(
                      "Not true that %s has last entry <%s>. "
                          + "It does contain this entry, but the last entry is <%s>",
                      actualAsString(), expectedEntry, actualLastEntry)));
        } else if (Objects.equal(actualLastKey, key)) {
          failWithoutActual(
              simpleFact(
                  lenientFormat(
                      "Not true that %s has last entry <%s>, the last value is <%s>",
                      actualAsString(), expectedEntry, actualLastEntry.getValue())));
        } else if (Objects.equal(actualLastEntry.getValue(), value)) {
          failWithoutActual(
              simpleFact(
                  lenientFormat(
                      "Not true that %s has last entry <%s>, the last key is <%s>",
                      actualAsString(), expectedEntry, actualLastKey)));
        } else if (actualAsNavigableMap().containsKey(key)) {
          failWithoutActual(
              simpleFact(
                  lenientFormat(
                      "Not true that %s has last entry <%s>. It does contain this key, "
                          + "but the key is mapped to <%s>, and the last entry is <%s>",
                      actualAsString(),
                      expectedEntry,
                      actualAsNavigableMap().get(key),
                      actualLastEntry)));
        } else if (actualAsNavigableMap().containsValue(value)) {
          Set<Object> keys = new LinkedHashSet<>();
          for (Entry<?, ?> actualEntry : actualAsNavigableMap().entrySet()) {
            if (Objects.equal(actualEntry.getValue(), value)) {
              keys.add(actualEntry.getKey());
            }
          }
          failWithoutActual(
              simpleFact(
                  lenientFormat(
                      "Not true that %s has last entry <%s>. It does contain this value, but the "
                          + "value is mapped from the keys <%s>, and the last entry is <%s>",
                      actualAsString(), expectedEntry, keys, actualLastEntry)));
        } else {
          failWithoutActual(
              simpleFact(
                  lenientFormat(
                      "Not true that %s has last entry <%s>. "
                          + "It does not contain this entry, and the last entry is <%s>",
                      actualAsString(), expectedEntry, actualLastEntry)));
        }
      }
    }