Created
May 4, 2015 21:03
-
-
Save gerad/ee1dda74c7de40798838 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
package echo | |
import ( | |
"testing" | |
"contracts" // our home-built contract testing library | |
) | |
// test the echo provider | |
func TestEchoProvider(t *testing.T) { | |
stubConnection := contracts.NewStubConnection() | |
StartEchoProvider(stubConnection) | |
stubConnection.TestContract(t, "echo-contract.json", contracts.asProvider) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment