File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,23 +116,23 @@ import static com.andyln.Mof.ALL;
116116
117117// ...
118118
119- @Test
120- public void success() throws Exception {
121- // Given (Setup data)
122- Food expected = SAMPLE_HOT_FOOD;
123-
124- // Given (Setup processors)
125- mof.when(ALL);
126-
127- // When (Run the thing that you want to test)
128- Food actual = microwave.heatFood(SAMPLE_COLD_FOOD, SAMPLE_SECONDS);
129-
130- // Then (Asserting what you want to be true, is actually true)
131- assertEquals(expected, actual);
132-
133- // Verify (Asserting the processors are called in the way you want)
134- mof.verify(ALL);
135- }
119+ @Test
120+ public void success() throws Exception {
121+ // Given (Setup data)
122+ Food expected = SAMPLE_HOT_FOOD;
123+
124+ // Given (Setup processors)
125+ mof.when(ALL);
126+
127+ // When (Run the thing that you want to test)
128+ Food actual = microwave.heatFood(SAMPLE_COLD_FOOD, SAMPLE_SECONDS);
129+
130+ // Then (Asserting what you want to be true, is actually true)
131+ assertEquals(expected, actual);
132+
133+ // Verify (Asserting the processors are called in the way you want)
134+ mof.verify(ALL);
135+ }
136136```
137137
138138### Unit Testing - An Exception Case
You can’t perform that action at this time.
0 commit comments