Created
November 12, 2011 11:34
-
-
Save hstaudacher/1360413 to your computer and use it in GitHub Desktop.
A simple Http Test using restfuse
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
@RunWith( HttpJUnitRunner.class ) | |
public class RestfuseTest { | |
@Rule | |
public Destination destination = new Destination( "http://restfuse.com" ); | |
@Context | |
private Response response; // will be injected after every request | |
@HttpTest( method = Method.GET, path = "/" ) | |
public void checkRestfuseOnlineStatus() { | |
assertOk( response ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment