### Question:
IdbmmsConfig { public boolean isConfigured() { return !StringUtil.isNullOrEmpty(endpoint); }  String getEndpoint(); int getPort(); boolean isConfigured();  }### Answer:
@Test void isConfiguredTestNullEndpoint() { assertThat(underTest.isConfigured()).isFalse(); }
@Test void isConfiguredTestEmptyEndpoint() { ReflectionTestUtils.setField(underTest, "endpoint", ""); assertThat(underTest.isConfigured()).isFalse(); }
@Test void isConfiguredTestGoodEndpoint() { ReflectionTestUtils.setField(underTest, "endpoint", "myhost.com"); assertThat(underTest.isConfigured()).isTrue(); }