Created
March 30, 2012 02:55
-
-
Save Ronnie76er/2246070 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ProviderTest extends FakeApplicationTest { | |
@Test | |
public void findProviderInvalidUser() { | |
assertThat(Provider.findProviderByUser(UserUtils.INVALID_USER_ID)) | |
.isNull(); | |
assertThat(Provider.findProviderByUser(null)) | |
.isNull(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment