public boolean isSuccess() {
        return applicationStatus == ApplicationStatus.SUCCEEDED
                || (applicationStatus == ApplicationStatus.UNKNOWN && serializedThrowable == null);
    }
@Test
    void testIsSuccess() {
        final JobResult jobResult =
                new JobResult.Builder().jobId(new JobID()).netRuntime(Long.MAX_VALUE).build();

        assertThat(jobResult.isSuccess()).isTrue();
    }