Created
March 2, 2012 20:17
-
-
Save mguillermin/1960997 to your computer and use it in GitHub Desktop.
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
@Test | |
public void save() { | |
running(fakeApplication(), new Runnable() { | |
public void run() { | |
// Here is your real test code | |
Company company = new Company("My Company"); | |
company.save(); | |
assertThat(company.id).isNotNull(); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment