-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from tubbynl/feature/issue-24
#24 Split integration tests by concept
- Loading branch information
Showing
13 changed files
with
593 additions
and
469 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package nl.stil4m.mollie; | ||
|
||
|
||
import static org.junit.Assert.assertNotNull; | ||
|
||
import org.junit.Test; | ||
|
||
public class ClientBuilderTest { | ||
|
||
ClientBuilder builder = new ClientBuilder(); | ||
|
||
|
||
@Test(expected=IllegalArgumentException.class) | ||
public void testBuildWithoutApiKey() { | ||
builder.build(); | ||
} | ||
|
||
@Test | ||
public void testBuildWithApiKey() { | ||
Client client = builder.withApiKey("test").build(); | ||
|
||
assertNotNull(client); | ||
} | ||
} |
232 changes: 0 additions & 232 deletions
232
src/test/java/nl/stil4m/mollie/ClientIntegrationTest.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.