@Test
public void withCause() {

    Exception cause = new RuntimeException("oops");
    ComputationException computationException = new ComputationExceptionBuilder(cause)
            .build();
    assertThat(computationException)
            .hasCause(cause)
            .hasMessageContaining("oops")
            .hasMessageContaining("RuntimeException")
            .hasStackTraceContaining("Caused by")
            .hasStackTraceContaining("oops");
}