Searched refs:fooReference1 (Results 1 – 2 of 2) sorted by relevance
84 String fooReference1 = new String("foo"); in testRemoveEqualKeyWithDifferentReference() local86 assertThat(fooReference1).isNotSameInstanceAs(fooReference2); in testRemoveEqualKeyWithDifferentReference()88 assertThat(mapCache.put(fooReference1, "bar")).isNull(); in testRemoveEqualKeyWithDifferentReference()89 assertThat(mapCache.get(fooReference1)).isEqualTo("bar"); // ensure first reference is cached in testRemoveEqualKeyWithDifferentReference()91 assertThat(mapCache.get(fooReference1)).isNull(); in testRemoveEqualKeyWithDifferentReference()