Package info.archinnov.achilles.test.mapping.entity

Examples of info.archinnov.achilles.test.mapping.entity.ClusteredEntityWithCounter$ClusteredKey


    entityValidator.validateEntity(bean, entityMeta);
  }

  @Test
  public void should_validate_not_clustered_counter() throws Exception {
    ClusteredEntityWithCounter entity = new ClusteredEntityWithCounter();
    when(proxifier.<ClusteredEntityWithCounter> deriveBaseClass(entity)).thenReturn(
        ClusteredEntityWithCounter.class);
    when(entityMetaMap.get(ClusteredEntityWithCounter.class)).thenReturn(entityMeta);
    when(entityMeta.structure().isClusteredCounter()).thenReturn(false);
    entityValidator.validateNotClusteredCounter(entity, entityMetaMap);
View Full Code Here


    entityValidator.validateNotClusteredCounter(entity, entityMetaMap);
  }

  @Test
  public void should_exception_when_not_clustered_counter() throws Exception {
    ClusteredEntityWithCounter entity = new ClusteredEntityWithCounter();
    when(proxifier.<ClusteredEntityWithCounter> deriveBaseClass(entity)).thenReturn(
        ClusteredEntityWithCounter.class);
    when(entityMetaMap.get(ClusteredEntityWithCounter.class)).thenReturn(entityMeta);
    when(entityMeta.structure().isClusteredCounter()).thenReturn(true);
View Full Code Here

TOP

Related Classes of info.archinnov.achilles.test.mapping.entity.ClusteredEntityWithCounter$ClusteredKey

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.