Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
jvx:code_snippets [2020/06/12 15:19] cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
jvx:code_snippets [2020/07/01 13:35] cduncan [Test Your Business Logic With JUnit] |
||
---|---|---|---|
Line 121: | Line 121: | ||
Tests our business logic not with an application server, but with our Lifecycle objects. We test our server code without specific configuration or modifications for unit tests. | Tests our business logic not with an application server, but with our Lifecycle objects. We test our server code without specific configuration or modifications for unit tests. | ||
- | Business Object: | + | Business object: |
<file java UserRegistration.java> | <file java UserRegistration.java> | ||
Line 166: | Line 166: | ||
</file> | </file> | ||
- | A standard Lifecycle Object: | + | A standard life cycle object: |
<file java Session.java> | <file java Session.java> | ||
Line 232: | Line 232: | ||
</file> | </file> | ||
- | Unit Test: | + | Unit test: |
<file java> | <file java> |