Package org.apache.tapestry.services

Examples of org.apache.tapestry.services.PersistentFieldBundle.containsValue()


        PersistentFieldChange change = new PersistentFieldChangeImpl("foo.bar", "field", value);
        Collection<PersistentFieldChange> changes = Arrays.asList(change);

        PersistentFieldBundle bundle = new PersistentFieldBundleImpl(changes);

        assertTrue(bundle.containsValue("foo.bar", "field"));

        assertSame(bundle.getValue("foo.bar", "field"), value);

        assertFalse(bundle.containsValue("foo.bar", "other"));
    }
View Full Code Here


        assertTrue(bundle.containsValue("foo.bar", "field"));

        assertSame(bundle.getValue("foo.bar", "field"), value);

        assertFalse(bundle.containsValue("foo.bar", "other"));
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.