package net.sourceforge.phpeclipse.xdebug.php.launching; import org.eclipse.core.runtime.CoreException; import junit.framework.TestCase; public class PHPSourceLookupParticipantTest extends TestCase { public void testFindSourceElementsObject() throws CoreException { PHPSourceLookupParticipant psp = new PHPSourceLookupParticipant(); 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); } }