public class TestApplicationSpecification extends TapestryTestCase
{
public void testBasicExtension() throws Exception
{
IApplicationSpecification spec = parseApp("BasicExtension.application");
PropertyBean extension = (PropertyBean) spec.getExtension("testBean");
assertEquals("booleanProperty", true, extension.getBooleanProperty());
assertEquals("intProperty", 18, extension.getIntProperty());
assertEquals("longProperty", 383838L, extension.getLongProperty());
assertEquals("doubleProperty", -3.14, extension.getDoubleProperty(), 0.0);