use of org.definitylabs.flue2ent.data.FakeTableElement in project flue2ent by DefinityLabs.
the class SimpleWebElementDecoratorProxyTest method findElement_webElement_returnsNestedElement.
@Test
public void findElement_webElement_returnsNestedElement() {
WebElementWrapper webElementWrapper = new WebElementWrapper(webElement);
FakeTableElement fakeTableElement = SimpleWebElementDecoratorProxy.newInstance(FakeTableElement.class, webElementWrapper);
expectedException.expect(RuntimeException.class);
expectedException.expectMessage("Method not implemented");
fakeTableElement.webElement(0);
}
use of org.definitylabs.flue2ent.data.FakeTableElement in project flue2ent by DefinityLabs.
the class SimpleWebElementDecoratorProxyTest method findElement_undefined_returnsNestedElement.
@Test
public void findElement_undefined_returnsNestedElement() {
WebElementWrapper webElementWrapper = new WebElementWrapper(webElement);
FakeTableElement fakeTableElement = SimpleWebElementDecoratorProxy.newInstance(FakeTableElement.class, webElementWrapper);
expectedException.expect(RuntimeException.class);
expectedException.expectMessage("Method not implemented");
fakeTableElement.undefined();
}
Aggregations