Adding new passing tests.
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.test / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugStackFrameTest.java
diff --git a/net.sourceforge.phpeclipse.xdebug.test/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStackFrameTest.java b/net.sourceforge.phpeclipse.xdebug.test/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStackFrameTest.java
new file mode 100644 (file)
index 0000000..209fa52
--- /dev/null
@@ -0,0 +1,16 @@
+package net.sourceforge.phpeclipse.xdebug.php.model;
+
+import junit.framework.TestCase;
+
+public class XDebugStackFrameTest extends TestCase {
+
+       public void testXDebugStackFrame_Constructor_Should_NOt_Fail_With_NPE() {
+               new XDebugStackFrame(null,0);
+       }
+
+       public void testXDebugStackFrame_GetSourceName() {
+               XDebugStackFrame frame = new XDebugStackFrame(null,0);
+               frame.getSourceName();
+       }
+
+}