public class JavaScriptWithScopeElementTest extends Object
JavaScriptWithScopeElement class.| Modifier and Type | Field and Description |
|---|---|
static Document |
SCOPE_1
A sample scope document.
|
static Document |
SCOPE_2
A sample scope document.
|
| Constructor and Description |
|---|
JavaScriptWithScopeElementTest() |
public static final Document SCOPE_1
public static final Document SCOPE_2
public void testAccept()
JavaScriptWithScopeElement.accept(com.allanbank.mongodb.bson.Visitor)
.public void testCompareTo()
JavaScriptWithScopeElement.compareTo(Element).public void testEqualsObject()
JavaScriptWithScopeElement.equals(java.lang.Object) .public void testGetJavaScript()
JavaScriptElement.getJavaScript().public void testGetScope()
JavaScriptWithScopeElement.getScope().public void testJavaScriptWithScopeElement()
public void testThrowsOnNullName()
public void testThrowsOnNullScope()
public void testThrowsOnNullValue()
public void testToString()
AbstractElement.toString().public void testValueAsObject()
JavaScriptWithScopeElement.getValueAsObject().public void testValueAsString()
AbstractElement.getValueAsString().public void testWithName()
JavaScriptWithScopeElement.withName(String).public void testWithNameWhenSameName()
JavaScriptWithScopeElement.withName(String).Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.