BAEL-3829: fixed test method names

This commit is contained in:
Maciej Glowka 2020-05-07 23:25:43 +02:00
parent 13f2b10c8b
commit 0e33f2d06c
1 changed files with 4 additions and 1 deletions

View File

@ -20,10 +20,13 @@ public class DynamicAutowireIntegrationTest {
private CustomMapFromListDynamicAutowireService customMapFromListDynamicAutowireService;
@Test
public void testConstructWorkerByJava() {
public void givenDynamicallyAutowiredBean_whenCheckingServerInGB_thenServerIsNotActive() {
assertThat(beanFactoryDynamicAutowireService.isServerActive("GB", 101), is(false));
assertThat(customMapFromListDynamicAutowireService.isServerActive("GB", 101), is(false));
}
@Test
public void givenDynamicallyAutowiredBean_whenCheckingServerInUS_thenServerIsActive() {
assertThat(beanFactoryDynamicAutowireService.isServerActive("US", 101), is(true));
assertThat(customMapFromListDynamicAutowireService.isServerActive("US", 101), is(true));
}