Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RunWith(SpringRunner.class)
- @SpringBootTest
- public class ConnectionLookupClientIT {
- private static final String LAUSANNE = "Lausanne";
- private static final String ZURICH = "Zurich";
- @Autowired
- private ConnectionLookupClient client;
- @Test
- public void getConnections_shouldRetrieveConnections() {
- // given
- // ... nothing to setup
- // when
- Connections connections = client.getConnections(LAUSANNE, ZURICH);
- // then
- assertThat(connections).isNotNull();
- assertThat(connections.getConnections()).isNotEmpty();
- }
- }
Add Comment
Please, Sign In to add comment