Package com.nurkiewicz.jdbcrepository.repositories

Examples of com.nurkiewicz.jdbcrepository.repositories.User


    //when
    final List<User> all = repository.findAll(sort);

    //then
    assertThat(all).containsExactly(
        new User("john4", SOME_DATE_OF_BIRTH, SOME_REPUTATION + 1, true),
        new User("john5", SOME_DATE_OF_BIRTH, SOME_REPUTATION + 1, true),
        new User("john3", SOME_DATE_OF_BIRTH, SOME_REPUTATION, true),
        new User("john6", SOME_DATE_OF_BIRTH, SOME_REPUTATION - 1, true)
    );
  }
View Full Code Here

TOP

Related Classes of com.nurkiewicz.jdbcrepository.repositories.User

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.