Package org.jboss.cache.search.test

Examples of org.jboss.cache.search.test.BrokenProvided


public class BrokenAnnotationTest
{
   @Test (expectedExceptions = IllegalArgumentException.class)
   public void testProvided()
   {
      BrokenProvided provided = new BrokenProvided();
      provided.setBoth("Cat", 5);

      Cache cache = new DefaultCacheFactory().createCache();

      SearchableCache searchable = new SearchableCacheFactory().createSearchableCache(cache, BrokenProvided.class);
View Full Code Here


public class BrokenAnnotationTest
{
   @Test (expectedExceptions = IllegalArgumentException.class)
   public void testProvided()
   {
      BrokenProvided provided = new BrokenProvided();
      provided.setBoth("Cat", 5);

      Cache cache = new DefaultCacheFactory().createCache();

      SearchableCache searchable = new SearchableCacheFactory().createSearchableCache(cache, BrokenProvided.class);
View Full Code Here

public class BrokenAnnotationTest
{
   @Test (expectedExceptions = IllegalArgumentException.class)
   public void testProvided()
   {
      BrokenProvided provided = new BrokenProvided();
      provided.setBoth("Cat", 5);

      Cache cache = new DefaultCacheFactory().createCache();

      SearchableCache searchable = new SearchableCacheFactory().createSearchableCache(cache, BrokenProvided.class);
View Full Code Here

TOP

Related Classes of org.jboss.cache.search.test.BrokenProvided

Copyright © 2018 www.massapicom. 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.