/sitebricks/src/test/java/com/google/sitebricks/binding/PropertyCacheTest.java
http://github.com/dhanji/sitebricks · Java · 21 lines · 13 code · 5 blank · 3 comment · 0 complexity · 453fa63e696f088ebc33e856148b5969 MD5 · raw file
- package com.google.sitebricks.binding;
- import org.testng.annotations.Test;
- /**
- * @author Dhanji R. Prasanna (dhanji@gmail.com)
- */
- public class PropertyCacheTest {
- @Test
- public final void doesPropertyExist() {
- assert new ConcurrentPropertyCache()
- .exists("name", MvelRequestBinderTest.AnObject.class);
- assert new ConcurrentPropertyCache()
- .exists("name", MvelRequestBinderTest.AnObject.class);
- assert !new ConcurrentPropertyCache()
- .exists("notExists", MvelRequestBinderTest.AnObject.class);
- }
- }