Package info.archinnov.achilles.test.integration.entity

Examples of info.archinnov.achilles.test.integration.entity.ClusteredEntityWithNamingStrategy


    @Test
    public void should_apply_case_sensitive_naming() throws Exception {
        //Given
        Long partitionKey = RandomUtils.nextLong(0, Long.MAX_VALUE);
        final ClusteredEntityWithNamingStrategy first = new ClusteredEntityWithNamingStrategy(partitionKey, "1", "fn1", "ln1");
        final ClusteredEntityWithNamingStrategy second = new ClusteredEntityWithNamingStrategy(partitionKey, "2", "fn2", "ln2");

        manager.insert(first);
        manager.insert(second);

        //When
View Full Code Here


    @Test
    public void should_perform_slice_query_with_naming_strategy() throws Exception {
        //Given
        Long partitionKey = RandomUtils.nextLong(0, Long.MAX_VALUE);
        final ClusteredEntityWithNamingStrategy first = new ClusteredEntityWithNamingStrategy(partitionKey, "1", "fn1", "ln1");
        final ClusteredEntityWithNamingStrategy second = new ClusteredEntityWithNamingStrategy(partitionKey, "2", "fn2", "ln2");
        final ClusteredEntityWithNamingStrategy third = new ClusteredEntityWithNamingStrategy(partitionKey, "3", "fn3", "ln3");
        final ClusteredEntityWithNamingStrategy fourth = new ClusteredEntityWithNamingStrategy(partitionKey, "4", "fn4", "ln4");

        manager.insert(first);
        manager.insert(second);
        manager.insert(third);
        manager.insert(fourth);
View Full Code Here

TOP

Related Classes of info.archinnov.achilles.test.integration.entity.ClusteredEntityWithNamingStrategy

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.