Fix formatting and monor cleanup

This commit is contained in:
coach88 2015-08-01 13:24:58 +03:00
parent d1263934d3
commit ece3508dd6
1 changed files with 11 additions and 11 deletions

View File

@ -36,7 +36,7 @@ public class MongoTemplateIntegrationTest {
@Test
public void whenInsertingUser_thenUserIsInserted() {
User user = new User();
final User user = new User();
user.setName("Jon");
mongoTemplate.insert(user);
}
@ -115,7 +115,7 @@ public class MongoTemplateIntegrationTest {
@Test
public void givenUserExists_whenRemovingUser_thenUserIsRemoved() {
User user = new User();
final User user = new User();
user.setName("Benn");
mongoTemplate.insert(user);