Here is an example that shows how to test that an object is NOT null. assertNotNull Asserts that an object isn't null. If it is an AssertionError is thrown.
確定! 回上一頁