@Test public void testConnectWithBadPassword() throws IOException { assertThat(authenticationService.connect(GOOD_USERNAME, BAD_PASSWORD)).isFalse(); }
@Test public void testConnectWithBadUserName() throws IOException { assertThat(authenticationService.connect("bad username", GOOD_PASSWORD)).isFalse(); }
@Test public void testConnect() throws IOException { assertThat(authenticationService.connect(GOOD_USERNAME, GOOD_PASSWORD)).isTrue(); }