FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
postmark-java/src/test/java/integration/ServerTest.java at main · ActiveCampaign/postmark-java · GitHub
ActiveCampaign
/
postmark-java
Public
Notifications
You must be signed in to change notification settings
Fork
31
Star
45
Code
Issues
6
Pull requests
5
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
postmark-java
/
src
/
test
/
java
/
integration
/
ServerTest.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (24 loc) · 786 Bytes
Breadcrumbs
postmark-java
/
src
/
test
/
java
/
integration
/
ServerTest.java
Copy path
File metadata and controls
31 lines (24 loc) · 786 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package
integration
;
import
base
.
BaseTest
;
import
com
.
postmarkapp
.
postmark
.
client
.
ApiClient
;
import
com
.
postmarkapp
.
postmark
.
client
.
data
.
model
.
server
.
Server
;
import
com
.
postmarkapp
.
postmark
.
client
.
exception
.
PostmarkException
;
import
org
.
junit
.
jupiter
.
api
.
Test
;
import
java
.
io
.
IOException
;
import
static
org
.
junit
.
jupiter
.
api
.
Assertions
.
assertEquals
;
import
static
org
.
junit
.
jupiter
.
api
.
Assertions
.
assertNotNull
;
/**
* Created by bash on 11/14/17.
*/
public
class
ServerTest
extends
BaseTest
{
ApiClient
client
;
@
org
.
junit
.
jupiter
.
api
.
BeforeEach
void
setUp
() {
client
=
getDefaultApiClient
();
}
@
Test
void
list
()
throws
PostmarkException
,
IOException
{
Server
server
=
client
.
getServer
();
assertNotNull
(
server
.
getName
());
}
}
Back
|
FazBrowse Home
|
New Git URL