1 package net.sourceforge.phpeclipse.xdebug.php.launching;
3 import org.eclipse.core.runtime.CoreException;
5 import junit.framework.TestCase;
7 public class PHPSourceLookupParticipantTest extends TestCase {
9 public void testFindSourceElementsObject() throws CoreException {
10 PHPSourceLookupParticipant psp = new PHPSourceLookupParticipant();
11 Object[] findSourceElements = psp.findSourceElements(new Object());
12 assertTrue("array should be empty",findSourceElements.length == 0);
15 public void testFindSourceElementsObject_WithNull() throws CoreException {
16 PHPSourceLookupParticipant psp = new PHPSourceLookupParticipant();
17 Object[] findSourceElements = psp.findSourceElements(null);
18 assertTrue("array should be empty",findSourceElements.length == 0);