Question: Given the test class below, which code snippet would be a correct assertion?
- assertThat(resultAdd).is(2.0)
- assertNotNull(resultAdd)
- assertThat(resultAdd).isWqualTo(2.0)
- assertThat(resultAdd)
Answer: The correct answer of the above question is Option B:assertNotNull(resultAdd)