Remove another low-value test.
THROW_ASSERTION_ERROR is no longer public API, and we already check that causes are present when using public APIs like ThrowableSubject.
RELNOTES=n/a
@@ -600,18 +600,6 @@ public class SubjectTest {
.isEqualTo("Not true that <null> is not in [a, b, null]. It was found at index 2");
}
- @Test
- public void throwableHasInitedCause() {
- NullPointerException cause = new NullPointerException();
- String msg = "foo";
- try {
- Truth.THROW_ASSERTION_ERROR.fail(msg, cause);
- } catch (AssertionError expected) {
- assertThat(expected).hasMessageThat().isEqualTo(msg);
- assertThat(expected).hasCauseThat().isSameAs(cause);
- }
- }
-
@Test
@SuppressWarnings("EqualsIncompatibleType")
public void equalsThrowsUSOE() {
