Skip to content

Instantly share code, notes, and snippets.

@paytonrules
Last active August 24, 2016 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paytonrules/5a91d3025439350183225143f613517e to your computer and use it in GitHub Desktop.
Save paytonrules/5a91d3025439350183225143f613517e to your computer and use it in GitHub Desktop.
public class MainTest {
@Test
public void ItAssignsTheTitle() throws Exception {
Main main = new TestableMain();
TestStageAdapter stageAdapter = new TestStageAdapter();
main.startPrimaryStage(stageAdapter);
assertEquals("Testing a Form", stageAdapter.getTtle());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment