public void TestScrollPane() { ScrollPane pane = new ScrollPane("newPane"); Assert.AreEqual("newPane", pane.Name); Assert.AreEqual(String.Empty, pane.Text); Assert.IsTrue(pane is Component); ScrollPane anotherPane = new ScrollPane("anotherPane", "someText"); Assert.AreEqual("someText", anotherPane.Text); Assert.AreEqual("anotherPane", anotherPane.Name); Assert.AreEqual("scrollPane", anotherPane.Type); Assert.AreEqual("scrollPane(\"anotherPane\")", anotherPane.GetBaseComponentString()); Assert.AreEqual("getTestFixture().scrollPane(\"anotherPane\")", anotherPane.GetQueryString()); Assert.AreEqual("getTestFixture().prefix(\"prefix\").scrollPane(\"anotherPane\")", anotherPane.GetQueryString("prefix(\"prefix\")")); }