Skip to content

Commit

Permalink
Made some changes to the unit tests due to my next blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
pkainulainen committed Dec 1, 2013
1 parent e24afa7 commit 3d11e4c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package net.petrikainulainen.spring.social.signinmvc.config;

import net.petrikainulainen.spring.social.signinmvc.user.repository.UserRepository;
import net.petrikainulainen.spring.social.signinmvc.user.service.UserService;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.context.support.ResourceBundleMessageSource;

import static org.mockito.Mockito.mock;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
public class ExampleUserDetailsAssert extends GenericAssert<ExampleUserDetailsAssert, ExampleUserDetails> {

public ExampleUserDetailsAssert(ExampleUserDetails actual) {
private ExampleUserDetailsAssert(ExampleUserDetails actual) {
super(ExampleUserDetailsAssert.class, actual);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
public class SecurityContextAssert extends GenericAssert<SecurityContextAssert, SecurityContext> {

public SecurityContextAssert(SecurityContext actual) {
private SecurityContextAssert(SecurityContext actual) {
super(SecurityContextAssert.class, actual);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
public class TestProviderSignInAttemptAssert extends GenericAssert<TestProviderSignInAttemptAssert, TestProviderSignInAttempt> {

public TestProviderSignInAttemptAssert(TestProviderSignInAttempt actual) {
private TestProviderSignInAttemptAssert(TestProviderSignInAttempt actual) {
super(TestProviderSignInAttemptAssert.class, actual);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
public class UserAssert extends GenericAssert<UserAssert, User> {

protected UserAssert(User actual) {
private UserAssert(User actual) {
super(UserAssert.class, actual);
}

Expand Down

0 comments on commit 3d11e4c

Please sign in to comment.