-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4faeeb
commit f20b0ed
Showing
3 changed files
with
122 additions
and
45 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
src/test/kotlin/com/github/natche/gravatarjavaclient/profile/GravatarProfileTest.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.github.natche.gravatarjavaclient.profile | ||
|
||
import com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile | ||
import org.junit.jupiter.api.Assertions | ||
import org.junit.jupiter.api.Test | ||
|
||
/** | ||
* Tests for [GravatarProfile]s. | ||
*/ | ||
class GravatarProfileTest { | ||
/** | ||
* Tests for creation. | ||
*/ | ||
@Test | ||
fun testCreation() { | ||
assertThrows(NullPointerException::class.java) { | ||
GravatarProfile() | ||
} | ||
} | ||
} |
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
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