Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@ExtendWith(SpringExtension.class)
@SpringBootTest
public class SpringBootJunit5IntegrationTest {
@Autowired
private ShowService showService;
@Test
@DisplayName("Integration test which will get the actual output of text service")
public void contextLoads() {
assertEquals(showService.getShowLable(), ORIGINAL_OUTPUT);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.