Fix formatting

This commit is contained in:
coach88 2015-08-01 23:57:33 +03:00
parent 5e7f4ab84f
commit 00eb2fd02c
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ public class MongoTemplateIntegrationTest {
user.setName("Jon");
mongoTemplate.insert(user);
}
@Test
public void whenSavingNewUser_thenUserIsInserted() {
final User user = new User();

View File

@ -50,9 +50,9 @@ public class UserRepositoryIntegrationTest {
assertThat(mongoOps.findOne(Query.query(Criteria.where("name").is("Jon")), User.class).getName(), is("Jon"));
}
@Test
public void whenSavingNewUser_thenUserIsInserted() {
public void whenSavingNewUser_thenUserIsInserted() {
final User user = new User();
user.setName("Albert");
userRepository.save(user);
@ -141,7 +141,7 @@ public class UserRepositoryIntegrationTest {
final Page<User> page = userRepository.findAll(pageableRequest);
List<User> users = page.getContent();
assertThat(users.size(), is(1));
assertThat(page.getTotalPages(), is(2));
}