0b325c39d72934a1d0270bc4985cfcd299e4db1e
[phpeclipse.git] /
1 package net.sourceforge.phpeclipse.xdebug.php.launching;
2
3 import org.eclipse.core.runtime.CoreException;
4
5 import junit.framework.TestCase;
6
7 public class PHPSourceLookupParticipantTest extends TestCase {
8
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);
13         }
14         
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);
19         }
20
21 }