Object[] findSourceElements = psp.findSourceElements(new Object());
assertTrue("array should be empty",findSourceElements.length == 0);
}
+
+ public void testFindSourceElementsObject_WithNull() throws CoreException {
+ PHPSourceLookupParticipant psp = new PHPSourceLookupParticipant();
+ Object[] findSourceElements = psp.findSourceElements(null);
+ assertTrue("array should be empty",findSourceElements.length == 0);
+ }
}