Complete the code to check if the object is null using JUnit.
[1](myObject);The assertNull method checks if the given object is null. It passes if the object is null.
Complete the code to check if the object is not null using JUnit.
[1](user);The assertNotNull method checks if the object is not null. It passes if the object exists.
Fix the error in the assertion to check that the variable is null.
[1](expectedValue, actualValue);The assertNull method takes only one argument. Using two arguments causes an error. Replace with assertNull and pass only the object to check.
Fill both blanks to assert that the object is not null and provide a failure message.
[1]("Object should not be null", [2]);
The assertNotNull method can take a message and the object to check. The message shows if the test fails. The object must be the second argument.
Fill all three blanks to assert that the user object is null with a custom message.
[1]("User must be null", [2]); // Check user // Next, assert that the session is not null [3](session);
Use assertNull with a message and the user object to check it is null. Then use assertNotNull to check the session is not null.